Merge branch 'master' into update-apps-crd #2077
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: validate | |
on: [push,pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: golang:1.17.1 | |
steps: | |
- id: go-cache-paths | |
run: echo "::set-output name=go-mod::$(go env GOMODCACHE)" | |
- uses: actions/checkout@v3 | |
- name: Go mod cache | |
uses: actions/cache@v3 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-mod-${{ hashFiles('**/go.sum') }} | |
- name: Run Makefile | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: make verify |