Skip to content

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0… #144

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0…

Bump gopkg.in/yaml.v3 from 3.0.0-20200313102051-9f266ea9e77c to 3.0.0… #144

Workflow file for this run

name: ci
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_run:
workflows: [image]
types: [completed]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: magnetikonline/action-golang-cache@v3
with: {go-version-file: go.mod}
- run: make test
- run: go tool cover -func coverall.out
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: magnetikonline/action-golang-cache@v3
with: {go-version-file: go.mod}
- run: make clean && make generate
- name: Ensure generated code is already checked in
if: success()
run: |
files="$(git diff --name-only)"
if [ -z "$files" ]; then exit 0; fi
echo "Files with diffs:"
echo "$files"
echo
echo
git diff
exit 1