Skip to content

Merge pull request #25 from alphagov/dependabot/go_modules/github.com… #51

Merge pull request #25 from alphagov/dependabot/go_modules/github.com…

Merge pull request #25 from alphagov/dependabot/go_modules/github.com… #51

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
paths-ignore:
- ".git**"
- README.md
workflow_dispatch:
jobs:
codeql-sast:
name: CodeQL SAST scan
uses: alphagov/govuk-infrastructure/.github/workflows/codeql-analysis.yml@main
permissions:
security-events: write
dependency-review:
name: Dependency Review scan
uses: alphagov/govuk-infrastructure/.github/workflows/dependency-review.yml@main
test:
name: Test Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- run: go test ./...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
show-progress: false
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v6