Skip to content

Run reusable scorecard workflow at main #527

Run reusable scorecard workflow at main

Run reusable scorecard workflow at main #527

Workflow file for this run

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@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: './go.mod'
check-latest: true
- 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