Skip to content

Commit

Permalink
Override go version check
Browse files Browse the repository at this point in the history
Signed-off-by: Flynn <emissary@flynn.kodachi.com>
  • Loading branch information
kflynn committed Dec 4, 2024
1 parent 64cdcf9 commit 8593392
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/execute-tests-and-promote.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,30 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install Deps
uses: ./.github/actions/setup-deps
- name: "Install bsdtar (libarchive-tools)"
shell: bash
run: |
sudo apt-get update -y
sudo apt-get install -y libarchive-tools
# Go: Do this first because `Makefile` checks that the `go` version is correct.
- name: "Install Go v1.23.3"
uses: actions/setup-go@v3
with:
go-version: "1.23.3"
# Python
- name: "Get Python version from builder container"
id: step-detect-py
shell: bash
run: |
make "$PWD/build-aux/py-version.txt"
echo "py_version=$(cat "$PWD/build-aux/py-version.txt")" >> $GITHUB_OUTPUT
- name: "Install Py (${{ steps.step-detect-py.outputs.py_version }})"
uses: actions/setup-python@v4
with:
python-version: "${{ steps.step-detect-py.outputs.py_version }}"
- name: "Install Python requirements with pip"
shell: bash
run: python -m pip install awscli packaging
- shell: bash
run: |
make lint-deps
Expand Down

0 comments on commit 8593392

Please sign in to comment.