Skip to content

Merge pull request #675 from nginx-proxy/dependabot/docker/debian-12.… #732

Merge pull request #675 from nginx-proxy/dependabot/docker/debian-12.…

Merge pull request #675 from nginx-proxy/dependabot/docker/debian-12.… #732

Workflow file for this run

name: Tests
on:
push:
branches:
- main
pull_request:
paths-ignore:
- "LICENSE"
- "**.md"
- "examples/*"
- "templates/*"
jobs:
unit:
strategy:
matrix:
go-version:
- "1.23"
- "1.24"
os:
- macos
- ubuntu
- windows
fail-fast: false
name: Unit Tests (${{ matrix.os }}/go-${{ matrix.go-version }})
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Install dependencies
run: make get-deps
- name: Build docker-gen
run: make docker-gen
- name: Check code formatting
if: runner.os != 'Windows'
run: make check-gofmt
- name: Run tests
run: make test