Skip to content

Bump docker/build-push-action from 6.2.0 to 6.3.0 #189

Bump docker/build-push-action from 6.2.0 to 6.3.0

Bump docker/build-push-action from 6.2.0 to 6.3.0 #189

Workflow file for this run

name: Auth Layer Proxy Tests
on:
pull_request:
branches: [ main, release/**]
push:
branches: [ main, release/*]
tags: [ v*, v*.*.* ]
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
proxy-tests:
name: Proxy Tests
runs-on: [self-hosted, Linux, medium, ephemeral]
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
#############
# Note: leafo/gh-actions-lua doesn't seem to work with self-hosted runners
# See issue #33 https://github.com/leafo/gh-actions-lua/issues/33
#- name: Install Lua
# uses: leafo/gh-actions-lua@35bcb06abec04ec87df82e08caa84d545348536e # v10.0.0
# with:
# luaVersion: '5.3'
#- name: Install LuaRocks
# uses: leafo/gh-actions-luarocks@e65774a6386cb4f24e293dca7fc4ff89165b64c5 # v4.3.0
##############
- name: Lua Install
run: |
sudo apt-get update
sudo apt-get install build-essential libreadline-dev lua5.3 liblua5.3-dev -y
- name: Luarocks Install
run: |
sudo apt-get update && sudo apt-get install wget -y
wget https://luarocks.org/releases/luarocks-3.8.0.tar.gz
tar xzfp luarocks-3.8.0.tar.gz; cd luarocks-3.8.0
./configure && make && sudo make install
- name: Install lunatest
run: sudo luarocks install lunatest
- name: Install luacov
run: sudo luarocks install luacov
- name: Install luacov-console
run: sudo luarocks install luacov-console
- name: Install cjson
run: sudo luarocks install lua-cjson
- name: Install luasocket
run: sudo luarocks install luasocket
- name: Run tests
run: lua test.lua
working-directory: auth-layer-proxy/tests
- name: Generate coverage report
run: luacov
working-directory: auth-layer-proxy/tests
- name: Generate Console Report
run: luacov-console ../filters/ && luacov-console ../filters/ -s && luacov-console ../filters/ -s > coverage.txt
working-directory: auth-layer-proxy/tests