mirror of
https://github.com/containous/traefik.git
synced 2024-12-22 13:34:03 +03:00
e522446909
Co-authored-by: Julien Salleyron <julien.salleyron@gmail.com>
32 lines
520 B
YAML
32 lines
520 B
YAML
name: Test Unit
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
env:
|
|
GO_VERSION: '1.21'
|
|
|
|
jobs:
|
|
|
|
test-unit:
|
|
runs-on: ubuntu-20.04
|
|
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up Go ${{ env.GO_VERSION }}
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: ${{ env.GO_VERSION }}
|
|
|
|
- name: Avoid generating webui
|
|
run: touch webui/static/index.html
|
|
|
|
- name: Tests
|
|
run: make test-unit
|