Skip to content

Merge pull request #491 from alphagov/add-source-labels #564

Merge pull request #491 from alphagov/add-source-labels

Merge pull request #491 from alphagov/add-source-labels #564

Workflow file for this run

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