Skip to content

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 #334

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0

Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.8.0 #334

Workflow file for this run

name: verify
on:
push:
branches: ["main"]
pull_request:
permissions: read-all
env:
GO_VERSION: '1.20'
jobs:
license-check:
name: license boilerplate check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: Install addlicense
run: go install github.com/google/addlicense@latest
- name: Check license headers
run: |
set -e
addlicense --check --ignore **/*.yml --ignore **/*.yaml -l apache -c 'The Sigstore Authors' -v *
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
with:
go-version: ${{ env.GO_VERSION }}
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3.6.0
timeout-minutes: 5
with:
version: v1.51