add claims extraction to a nginx variables #56
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install LuaJIT and LuaRocks | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y luajit luarocks | |
- name: Install luacheck | |
run: sudo luarocks install luacheck | |
- name: Run LuaCheck | |
run: make lint | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install LuaJIT and LuaRocks | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y luajit luarocks | |
- name: Install luaunit | |
run: sudo luarocks install luaunit | |
- name: Run LuaJIT tests | |
run: make test.unit | |
test-e2e: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- name: Run Golang E2E tests | |
run: make test.e2e |