Skip to content

Merge pull request #5 from alphagov/dependabot/go_modules/google.gola… #8

Merge pull request #5 from alphagov/dependabot/go_modules/google.gola…

Merge pull request #5 from alphagov/dependabot/go_modules/google.gola… #8

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
paths-ignore:
- ".git**"
- README.md
workflow_dispatch:
jobs:
test:
name: Test Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v4
with:
version: v1.54
# caching issues, see: https://github.com/golangci/golangci-lint-action/issues/244#issuecomment-1052190775
skip-pkg-cache: true
skip-build-cache: true