Skip to content

Commit

Permalink
Update most CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeyBF committed Oct 1, 2024
1 parent 6ce7a6f commit 4f4f91a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
working-directory: ./chart/chart

steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"

Expand All @@ -81,7 +81,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Make clean does not remove commited files
run: make clean && git diff --exit-code
33 changes: 16 additions & 17 deletions .github/workflows/ext.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:

continue-on-error: ${{ matrix.toolchain != 'stable' }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"

Expand All @@ -28,7 +28,7 @@ jobs:
toolchain: ${{ matrix.toolchain }}

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
RUSTUP_TOOLCHAIN: nightly

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install rustup
id: rustup
Expand All @@ -74,7 +74,7 @@ jobs:
components: miri

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand All @@ -94,7 +94,7 @@ jobs:
RUSTUP_TOOLCHAIN: nightly

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install rustup
id: rustup
Expand All @@ -103,12 +103,11 @@ jobs:
toolchain: nightly
components: clippy, rustfmt

# Install black from pip3 to ensure latest version
- name: Install python dependencies
run: sudo apt-get install black flake8

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -139,7 +138,7 @@ jobs:

continue-on-error: ${{ matrix.toolchain != 'stable' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install rustup
uses: dtolnay/rust-toolchain@v1
Expand All @@ -150,7 +149,7 @@ jobs:
components: clippy, rustfmt

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -200,7 +199,7 @@ jobs:

continue-on-error: ${{ matrix.toolchain != 'stable' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Download webserver
uses: actions/download-artifact@v4
Expand All @@ -218,7 +217,7 @@ jobs:
run: sudo apt-get install --no-install-recommends python3-pytest python3-selenium

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -264,7 +263,7 @@ jobs:

continue-on-error: ${{ matrix.toolchain != 'stable' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install rustup
id: rustup
Expand All @@ -275,7 +274,7 @@ jobs:
components: clippy, rustfmt

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -318,7 +317,7 @@ jobs:

continue-on-error: ${{ matrix.toolchain != 'stable' }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install rustup
id: rustup
Expand All @@ -327,7 +326,7 @@ jobs:
toolchain: ${{ matrix.toolchain }}

- name: Cache files
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cargo
Expand Down Expand Up @@ -368,7 +367,7 @@ jobs:
path: docs

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .
Expand Down

0 comments on commit 4f4f91a

Please sign in to comment.