build(deps): bump actions/checkout from 3 to 4 #67
Workflow file for this run
This file contains 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: | |
branches: | |
- "main" | |
jobs: | |
unit-test: | |
strategy: | |
fail-fast: false | |
matrix: | |
platform: | |
- ubuntu-20.04 | |
job_name: | |
- linux_openresty | |
runs-on: ${{ matrix.platform }} | |
timeout-minutes: 90 | |
steps: | |
- name: Check out APISIX plugins | |
uses: actions/checkout@v4 | |
- name: Check out APISIX repo | |
run: | | |
sudo make init_apisix | |
sudo make patch_apisix | |
- name: Install custom module | |
run: | | |
sudo make install | |
- name: Launch APISIX common services | |
run: | | |
sudo make ci-env-up project_compose_ci=ci/pod/docker-compose.common.yml | |
working-directory: workbench | |
- name: Linux Get dependencies | |
run: | | |
sudo apt install -y cpanminus build-essential libncurses5-dev libreadline-dev libssl-dev perl libpcre3 libpcre3-dev libldap2-dev | |
- name: Linux Before install | |
run: | | |
sudo ./ci/${{ matrix.job_name }}_runner.sh before_install | |
working-directory: workbench | |
- name: Linux Do install | |
run: | | |
sudo ./ci/${{ matrix.job_name }}_runner.sh do_install | |
working-directory: workbench | |
- name: Run test case | |
run: | | |
sudo ./ci/utils/linux-common-runnner.sh run_case | |
working-directory: workbench |