Skip to content

Merge pull request #347 from spacemeshos/dependabot/github_actions/ac… #903

Merge pull request #347 from spacemeshos/dependabot/github_actions/ac…

Merge pull request #347 from spacemeshos/dependabot/github_actions/ac… #903

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-22.04
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up go
uses: actions/setup-go@v5
with:
check-latest: true
go-version-file: "release/go/go.mod"
- name: lint and check build
run: |
# Runs the buf linter
make lint
# Checks for breaking changes against master
make breaking
# Create an actual build, then diff it to make sure build is up to date
make check