github.com/giantswarm/apiextensions/v6@v6.6.0/.github/workflows/validate.yaml (about) 1 name: validate 2 3 on: [push,pull_request] 4 5 jobs: 6 build: 7 runs-on: ubuntu-latest 8 container: golang:1.17.1 9 steps: 10 - id: go-cache-paths 11 run: echo "::set-output name=go-mod::$(go env GOMODCACHE)" 12 13 - uses: actions/checkout@v3 14 15 - name: Go mod cache 16 uses: actions/cache@v3 17 with: 18 path: ${{ steps.go-cache-paths.outputs.go-mod }} 19 key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} 20 21 - name: Run Makefile 22 env: 23 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 24 run: make verify