chore(deps): update sigstore/cosign-installer action to v4 #193
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: | |
| pull_request: | |
| branches: [main] | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26.4" | |
| - uses: golangci/golangci-lint-action@v8 | |
| with: | |
| version: v2.5.0 | |
| # Build the linter from source with the runner's Go. Prebuilt | |
| # golangci-lint binaries are released built with go1.25; if any | |
| # file under analysis (theirs or transitive dep) needs go1.26 | |
| # the binary panics. `goinstall` sidesteps that by compiling the | |
| # linter with the same Go we use to compile the project. | |
| install-mode: goinstall | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26.4" | |
| - run: go mod download | |
| - run: go test -timeout 120s -race -cover ./... | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version: "1.26.4" | |
| - run: go build -o /tmp/stackit-nuke ./ | |
| - run: /tmp/stackit-nuke --version |