Merge pull request #498 from alphagov/dependabot/go_modules/github.co… #575
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@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 |