github.com/intel/goresctrl@v0.5.0/.github/workflows/verify.yml (about) 1 name: Verify 2 on: [push, pull_request] 3 jobs: 4 5 build: 6 name: Build 7 runs-on: ubuntu-22.04 8 steps: 9 10 - uses: actions/checkout@v2 11 12 - uses: actions/setup-go@v4 13 with: 14 go-version: "1.20" 15 16 - name: Install golangci-lint 17 run: | 18 curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.54.0 19 20 - name: Verify 21 run: make verify 22 23 - name: Test 24 run: make test 25 26 - name: Codecov report 27 run: bash <(curl -s https://codecov.io/bash)