Skip to content

Bump aquasecurity/trivy-action from 0.23.0 to 0.24.0 #85

Bump aquasecurity/trivy-action from 0.23.0 to 0.24.0

Bump aquasecurity/trivy-action from 0.23.0 to 0.24.0 #85

Workflow file for this run

name: Test and Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Run Go Tests
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v3
with:
go-version: '1.22.1'
- name: Get dependencies
run: go mod tidy
- name: Run tests
run: go test ./... -v
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v3
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v3
with:
go-version: '1.22.1'
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v3