Bump github.com/digitalocean/godo from 1.170.0 to 1.171.0 #30
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: goreleaser | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| workflow_dispatch: | |
| permissions: {} | |
| jobs: | |
| goreleaser: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| id-token: write | |
| attestations: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: 'go.mod' | |
| - uses: anchore/sbom-action/download-syft@v0 | |
| - name: GoReleaser release | |
| uses: goreleaser/goreleaser-action@v6 | |
| with: | |
| version: '~> v2' | |
| args: release | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_ACCESS_TOKEN }} | |
| - uses: actions/attest-build-provenance@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Darwin_arm64.tar.gz.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Darwin_x86_64.tar.gz.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Linux_arm64.tar.gz.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Linux_i386.tar.gz.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Linux_x86_64.tar.gz.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Windows_arm64.zip.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Windows_i386.zip.sbom.json | |
| - uses: actions/attest-sbom@v3 | |
| with: | |
| show-summary: false | |
| subject-checksums: ./dist/trellis_checksums.txt | |
| sbom-path: ./dist/trellis_Windows_x86_64.zip.sbom.json | |
| verify: | |
| needs: [goreleaser] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: gh release download --clobber --dir artifacts -p '*.tar.gz' -p '*.zip' -p '*.sbom.json' --repo $REPO $TAG | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| REPO: ${{ github.repository }} | |
| TAG: ${{ github.ref_name }} | |
| - run: tree artifacts | |
| - run: ls | xargs -I {} gh attestation verify --repo $REPO {} | |
| working-directory: artifacts | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| REPO: ${{ github.repository }} | |
| - run: ls *.sbom.json | xargs -I {} gh attestation verify --predicate-type https://spdx.dev/Document/v2.3 --repo $REPO {} | |
| working-directory: artifacts | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| REPO: ${{ github.repository }} |