feat: VerifyNpmPackage API with supplied tuf client #1838
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: Pre submits cli | |
on: | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
# Used in combination with schedule.cli.yml | |
# to avoid duplicating the test code. | |
schedule: | |
- cron: "25 6 * * 5" | |
permissions: read-all | |
jobs: | |
pre-submit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: setup-go | |
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 | |
with: | |
go-version-file: "go.mod" | |
# not needed but gets rid of warnings | |
cache: false | |
- name: Save event name | |
env: | |
EVENT_NAME: ${{ github.event_name }} | |
run: | | |
echo "$EVENT_NAME" > ./event_name.txt | |
- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4.3.1 | |
with: | |
name: event_name | |
path: ./event_name.txt | |
- name: Run tests for verifier | |
run: | | |
set -euo pipefail | |
make regression-test |