name: Tests on: pull_request: branches: [main] jobs: test: name: Test runs-on: ubuntu-latest env: GOPROXY: "https://proxy.golang.org,direct" ENABLE_DOCKER_INTEGRATION_TESTS: TRUE steps: - name: Set up Go uses: actions/setup-go@v2 with: go-version: "1.22" id: go - name: Check out code into the Go module directory uses: actions/checkout@v1 - name: install staticcheck run: | cd /tmp && go install honnef.co/go/tools/cmd/staticcheck@latest - name: Make tests run: | make