From c1be6e58b691738a91144e07355fa4c46c3952fb Mon Sep 17 00:00:00 2001 From: Webster Mudge Date: Mon, 8 Jul 2024 10:06:06 -0400 Subject: [PATCH] Update to fix pre-commit checks (#89) * Add Python version to setup action Signed-off-by: Webster Mudge --- .github/workflows/pre-commit.yml | 2 ++ aws/bindep.txt | 2 +- base/execution-environment.yml | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 1b6688d..605a725 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -25,4 +25,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + python-version: '3.12' - uses: pre-commit/action@v3.0.1 diff --git a/aws/bindep.txt b/aws/bindep.txt index e525b07..6bde949 100644 --- a/aws/bindep.txt +++ b/aws/bindep.txt @@ -14,4 +14,4 @@ # System dependencies for AWS cldr-runner -unzip \ No newline at end of file +unzip diff --git a/base/execution-environment.yml b/base/execution-environment.yml index 527d890..343cacb 100644 --- a/base/execution-environment.yml +++ b/base/execution-environment.yml @@ -31,7 +31,7 @@ dependencies: python: requirements.txt system: bindep.txt python_interpreter: - package_system: "python39" + package_system: "python39" additional_build_files: - src: bashrc @@ -40,7 +40,7 @@ additional_build_files: additional_build_steps: prepend_base: - RUN yum install -y git - - RUN dnf clean all -y && rm -rf /var/cache/yum /var/cache/dnf /tmp/src + - RUN dnf clean all -y && rm -rf /var/cache/yum /var/cache/dnf /tmp/src prepend_builder: - RUN yum install -y yum-utils && yum-config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo prepend_final: