Files
slsa-verifier/.github/workflows/pre-submit.yml
dependabot[bot] 32e4468647 🌱 Bump actions/checkout from 2 to 3 (#15)
* 🌱 Bump actions/checkout from 2 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update version comment

Signed-off-by: Asra Ali <asraa@google.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asra Ali <asraa@google.com>
2022-03-31 11:37:16 -05:00

27 lines
581 B
YAML

name: Pre submits
on: [pull_request, workflow_dispatch]
permissions: read-all
jobs:
pre-submit:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3 # v3
- name: setup-go
uses: actions/setup-go@f6164bd8c8acb4a71fb2791a8b6c4024ff038dab # v3
with:
go-version: '1.17'
- name: Run tests for verifier
run: |
set -euo pipefail
go mod vendor
# Build
go build -mod=vendor
# Tests
go test -mod=vendor -v ./...