Bump the actions group with 1 update #507
Workflow file for this run
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: ci | |
on: | |
push: | |
branches: | |
- "main" | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version-file: './go.mod' | |
check-latest: true | |
- uses: actions/cache@ab5e6d0c87105b4c9c2047343972218f562e4319 # v4.0.1 | |
with: | |
path: | | |
~/.cache/go-build | |
~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Setup Bats and bats libs | |
uses: bats-core/bats-action@0ae349dad1aa69308725a48b91b5d6ca647040bc # v1.5.6 | |
- name: Verify go.mod is sane | |
run: go mod tidy && git diff --no-patch --exit-code | |
- name: Install dependencies | |
run: go mod download | |
- name: Build | |
run: make | |
- name: Test | |
run: make test | |
- name: Create Integration Pre-Reqs | |
run: ./scripts/generate-test-chart.sh | |
- name: Upload helm-sigstore-test-0.1.0.tgz | |
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | |
with: | |
name: helm-sigstore-test-0.1.0.tgz | |
path: | | |
helm-sigstore-test-0.1.0.tgz | |
helm-sigstore-test-0.1.0.tgz.prov | |
.gnupg/sigstore-secring.gpg | |
- name: Integration Test | |
run: make integration |