From 6b65975b04d1bef8b87aa25bfd4d90279d050ff0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jun 2022 17:19:31 +0000 Subject: [PATCH 1/2] chore(deps): bump actions/setup-python from 3 to 4 Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/pre-commit.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 7f5ddf91..488de170 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -11,5 +11,5 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 442df811..4f5d3b70 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 - name: Install package and dependencies run: | python -m pip install --upgrade pip From 2ca787206a69a149f074e64a1417b0b6da5e92ac Mon Sep 17 00:00:00 2001 From: Machiko Yasuda Date: Mon, 27 Jun 2022 21:43:38 +0000 Subject: [PATCH 2/2] fix(ci): use python-version-file w/setup-python@v4 --- .github/workflows/.python-version | 1 + .github/workflows/pre-commit.yml | 2 ++ .github/workflows/run-tests.yml | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 .github/workflows/.python-version diff --git a/.github/workflows/.python-version b/.github/workflows/.python-version new file mode 100644 index 00000000..bd28b9c5 --- /dev/null +++ b/.github/workflows/.python-version @@ -0,0 +1 @@ +3.9 diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 488de170..d8b4f743 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -12,4 +12,6 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + with: + python-version-file: .github/workflows/.python-version - uses: pre-commit/action@v3.0.0 diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4f5d3b70..4a0b2950 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -10,6 +10,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 + with: + python-version-file: .github/workflows/.python-version - name: Install package and dependencies run: | python -m pip install --upgrade pip