build(deps): bump alpine from 3.22 to 3.24 in the docker group across 1 directory #9
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version: 1.27.x | |
| cache: true | |
| - name: Verify formatting | |
| run: test -z "$(gofmt -l cmd internal)" | |
| - name: Vet | |
| run: go vet ./... | |
| - name: Test with race detector and coverage | |
| run: go test -race -covermode=atomic -coverprofile=coverage.out ./... | |
| - name: Report coverage | |
| run: go tool cover -func=coverage.out | |
| - name: Build CLI | |
| run: go build -trimpath -o dist/lockreview ./cmd/lockreview | |
| go-compatibility: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| go-version: | |
| - 1.25.x | |
| - 1.27.x | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-go@v7 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| cache: true | |
| - run: go test ./... | |
| - run: go build -trimpath ./cmd/lockreview | |
| action-smoke: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Accept a scoped dependency update | |
| uses: ./ | |
| with: | |
| base-dir: internal/review/testdata/clean/base | |
| head-dir: internal/review/testdata/clean/head | |
| - name: Reject unrelated downgrades | |
| id: unrelated | |
| continue-on-error: true | |
| uses: ./ | |
| with: | |
| base-dir: internal/review/testdata/unrelated/base | |
| head-dir: internal/review/testdata/unrelated/head | |
| - name: Verify the failing fixture failed | |
| env: | |
| OUTCOME: ${{ steps.unrelated.outcome }} | |
| run: test "$OUTCOME" = failure |