Skip to content

FEAT: skeleton authN middleware #82

FEAT: skeleton authN middleware

FEAT: skeleton authN middleware #82

Workflow file for this run

name: 🧪 Execute Tests
on:
pull_request:
branches:
- main
- develop
push:
branches:
- main
workflow_dispatch:
jobs:
test:
name: 🧪 Test
runs-on: ubuntu-latest
steps:
- name: Checkout code 🛎️
uses: actions/checkout@v4
- name: Set up Go 🧰
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Run tests 🛠️
run: make test
- name: Report coverage 📈
run: go test -coverprofile=coverage.out ./...
- name: Upload coverage to Codecov 📤
uses: codecov/codecov-action@v4
with:
files: coverage.out
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}