docs: add documentation for the reason why we need to have a setup step for the container

This commit is contained in:
Fotis Koutoulakis (@NlightNFotis) 2024-12-09 18:59:37 +00:00
parent 3951a82275
commit 51e71f81a0
2 changed files with 6 additions and 0 deletions

3
.github/workflows/__test-proxy.yml generated vendored
View file

@ -38,6 +38,9 @@ jobs:
timeout-minutes: 45
runs-on: ${{ matrix.os }}
steps:
# These steps are required to initialise the `gh` cli in a container that doesn't
# come pre-installed with it. The reason for that is that this is later
# needed by the `prepare-test` workflow to find the latest release of CodeQL.
- name: Set up GitHub CLI
run: |
apt update

View file

@ -5,6 +5,9 @@ operatingSystems: ["ubuntu"]
container:
image: ubuntu:22.04
container-init-steps:
# These steps are required to initialise the `gh` cli in a container that doesn't
# come pre-installed with it. The reason for that is that this is later
# needed by the `prepare-test` workflow to find the latest release of CodeQL.
name: Set up GitHub CLI
run: |
apt update