Skip to content

fix: pin prow checkout to known-good commit and set GOTOOLCHAIN #2

fix: pin prow checkout to known-good commit and set GOTOOLCHAIN

fix: pin prow checkout to known-good commit and set GOTOOLCHAIN #2

name: "Peribolos: Validate"
on:
push:
branches:
- main
pull_request:
jobs:
project:
name: Verify peribolos
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: './go.mod'
- name: verify go modules and vendor directory
run: |
go mod tidy
go mod vendor
- name: running unit tests
run: |
go test ./...
- name: Install yamllint and check org/config.yaml
run: pip install yamllint && yamllint org/config.yaml