e2ab5d68ad
* ci: create gh action that installs go from go.mod * ci: create gh action that installs ubuntu dependencies * ci: create gh workflow that runs go build * ci: test the build workflow * Revert "ci: test the build workflow" This reverts commit 8150510aae4d6d1fb1d719e2d69057a3c0695d32.
30 lines
510 B
YAML
30 lines
510 B
YAML
name: Build
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
- release/*
|
|
workflow_dispatch:
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: 'recursive'
|
|
- uses: ./.github/actions/install-ubuntu-deps
|
|
- uses: ./.github/actions/install-go
|
|
- run: make deps lotus
|