Skip to content

Merge pull request #264 from spacemeshos/update-go-1.20 #639

Merge pull request #264 from spacemeshos/update-go-1.20

Merge pull request #264 from spacemeshos/update-go-1.20 #639

Workflow file for this run

name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
pull_request:
push:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up go
uses: actions/setup-go@v4
with:
check-latest: true
go-version-file: "release/go/go.mod"
- name: lint and check build
run: |
# Runs the buf linter and checks for breaking changes
make https
# Attempts to build using `protoc`. Probably redundant given the next step.
make protoc
# Create an actual build, then diff it to make sure build is up to date
make check