Skip to content

Merge pull request #404 from torredil/trivy-schedule-trigger #1048

Merge pull request #404 from torredil/trivy-schedule-trigger

Merge pull request #404 from torredil/trivy-schedule-trigger #1048

Workflow file for this run

name: Linux tests
on:
pull_request: {}
push: {}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: ^1.18
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Sanity test
env:
GITHUB_ACTIONS: true
run: |
export PATH=$PATH:$HOME/.local/bin
make
echo "is running in github actions: $GITHUB_ACTIONS"
make sanity-test
- name: Verification test
run: |
./hack/verify-all.sh