chore(deps): update actions/upload-artifact digest to 65c4c4a #118
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: build and test | |
on: push | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5 | |
with: | |
go-version: ^1.21 | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@9ed2f89a662bf1735a48bc8557fd212fa902bebf # v6 | |
with: | |
distribution: goreleaser | |
version: latest | |
args: release --snapshot --clean | |
- name: Upload result | |
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4 | |
with: | |
name: helm-schema-tarball | |
path: dist/helm-schema_*-next_Linux_x86_64.tar.gz | |
test: | |
runs-on: ubuntu-latest | |
needs: goreleaser | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
fetch-depth: 0 | |
- name: Download helm-schema | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4 | |
with: | |
name: helm-schema-tarball | |
- shell: bash | |
run: |- | |
tar xf helm-schema_*-next_Linux_x86_64.tar.gz -C tests helm-schema | |
cd tests && ./run.sh |