Skip to content

Merge pull request #408 from alphagov/dependabot/go_modules/github.co… #365

Merge pull request #408 from alphagov/dependabot/go_modules/github.co…

Merge pull request #408 from alphagov/dependabot/go_modules/github.co… #365

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@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- run: make unit_tests
- run: make integration_tests
env:
ROUTER_MONGO_URL: localhost
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v3
with:
version: v1.53