Skip to content

Commit

Permalink
Bump github actions' versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dvolodin7 committed Mar 18, 2024
1 parent d89f6ef commit 0990134
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
steps:
# Checkout source code
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

# Cache dependencies
- name: Cache Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./.pip
key: ${{ runner.os }}-docs-${{ hashFiles('./.requirements/docs.txt') }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Up Python 3.10
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
target: x86_64-unknown-linux-gnu
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build wheels
run: >
Expand Down Expand Up @@ -82,7 +82,7 @@ jobs:
# platform: linux/arm64
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up QEMU
if: matrix.arch != 'x86_64'
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
# # platform: linux/arm64
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# - name: Set up QEMU
# if: matrix.arch != 'x86_64'
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:
# # platform: macosx
# steps:
# - name: Checkout Repo
# uses: actions/checkout@v3
# uses: actions/checkout@v4

# - name: Build Packages
# uses: pypa/cibuildwheel@v2.11.2
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Up Python {{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.10"

# Cache dependencies
- name: Cache Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./.pip
key: ${{ runner.os }}-tests-3.10-${{ hashFiles('./.requirements/lint.txt') }}
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
run: ./tools/build/setup-rust.sh
Expand Down Expand Up @@ -105,16 +105,16 @@ jobs:
echo "${HOME}/.cargo/bin" >> $GITHUB_PATH
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Up Python {{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

# Cache dependencies
- name: Cache Dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ./.pip
key: ${{ runner.os }}-tests-{{ matrix.python-version }}-${{ hashFiles('./.requirements/build.txt') }}-${{ hashFiles('./.requirements/test.txt') }}
Expand Down
1 change: 0 additions & 1 deletion .requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@
pytest==7.4.3
coverage[toml]==7.3.2
PyYAML>=6.0
pytest-benchmark==4.0.0

6 changes: 3 additions & 3 deletions tests/test_ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def _get_root() -> str:


VERSIONS = [
"actions/cache@v3",
"actions/checkout@v3",
"actions/setup-python@v4",
"actions/cache@v4",
"actions/checkout@v4",
"actions/setup-python@v5",
"pypa/gh-action-pypi-publish@release/v1",
]

Expand Down

0 comments on commit 0990134

Please sign in to comment.