Merge pull request #448 from alphagov/dependabot/go_modules/github.co… #460
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
paths-ignore: | |
- ".git**" | |
- README.md | |
- docs | |
workflow_dispatch: | |
jobs: | |
test-go: | |
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: make unit_tests | |
- run: make integration_tests | |
timeout-minutes: 15 | |
env: | |
ROUTER_MONGO_URL: 127.0.0.1 | |
golangci-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@3cfe3a4abbb849e10058ce4af15d205b6da42804 # v4.0.0 | |
with: | |
version: v1.55.2 |