Skip to content

feat: CI testing

feat: CI testing #3

Workflow file for this run

name: Test 🧪
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
lint:
name: Lint 🧹
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.*
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
name: Test 🧪
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: 1.20.*
- name: Run tests
env:
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }}
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }}
AUTH0_CLIENT_SECRET: ${{ secrets.AUTH0_CLIENT_SECRET }}
run: make test