Merge pull request #373 from spacemeshos/dependabot/npm_and_yarn/rele… #961
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: 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 |