Merge pull request #527 from Fantom-foundation/fix/networkid-handshake #271
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check build | |
on: | |
push: | |
pull_request: | |
branches: | |
- develop | |
- master | |
jobs: | |
check-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Golang dependency | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '^1.18' | |
- name: Run unit tests | |
run: go test -v ./... | |
- name: Build | |
run: make opera | |
- name: Publish | |
uses: actions/upload-artifact@v2 | |
with: | |
name: opera | |
path: ./build/opera |