Skip to content

Commit

Permalink
Bump GH action versions
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Dec 8, 2023
1 parent 029d411 commit 2cbcc7a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 20 deletions.
4 changes: 2 additions & 2 deletions .github/actions/build-package/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ runs:
run: pipx install nox
shell: bash
- name: Install Python ${{ inputs.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ inputs.python-version }}
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Bundle frontend
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/prepare-ci/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
run: pipx install nox
shell: bash
- name: Install Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-install-version || matrix.python-version }}
- name: Install libgirepository
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
wheel-name: ${{ steps.build-package.outputs.wheel-name }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build package
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download pre-built wheel
uses: actions/download-artifact@v3
id: download-wheel
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download pre-built wheel
uses: actions/download-artifact@v3
id: download-wheel
Expand All @@ -91,7 +91,7 @@ jobs:
- name: Prepare environment
uses: ./.github/actions/prepare-ci
- name: Install Node for Pyright
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Type check
Expand All @@ -105,11 +105,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install nox
run: pipx install nox
- name: Install Node for Prettier
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Lint
Expand All @@ -120,7 +120,7 @@ jobs:
needs: test
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Download coverage data
uses: actions/download-artifact@v3
with:
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/freeze.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
wheel-version: ${{ steps.build-package.outputs.wheel-version }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build package
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ${{ matrix.build-env.os }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download pre-built wheel
Expand All @@ -54,14 +54,11 @@ jobs:
name: ${{ needs.build-package.outputs.wheel-name }}
path: ./dist
- name: Install Python 3.11
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: ${{ matrix.build-env.rust-target }}
- name: Install Rust
run: rustup update stable
- name: Install cross-compilation toolchain
uses: taiki-e/setup-cross-toolchain-action@v1
with:
Expand Down Expand Up @@ -105,7 +102,7 @@ jobs:
runs-on: ${{ matrix.build-env.os }}
steps:
- name: Clone the repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download pre-built wheel
Expand All @@ -121,7 +118,7 @@ jobs:
libgirepository1.0-dev gir1.2-javascriptcoregtk-4.0 gir1.2-webkit2-4.0
if: matrix.build-env.os == 'ubuntu-20.04'
- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.build-env.python-version }}
- name: Install nox
Expand Down

0 comments on commit 2cbcc7a

Please sign in to comment.