Skip to content

Commit

Permalink
ensure python CI is 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Hennzau committed Oct 25, 2024
1 parent e30cecf commit 1af2b01
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: r7kamura/[email protected]
- run: cargo --version --verbose
- uses: Swatinem/rust-cache@v2
Expand All @@ -39,17 +42,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: r7kamura/[email protected]
- run: cargo --version --verbose

- name: "Clippy"
run: cargo clippy --all --all-features

rustfmt:
name: "Formatting"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: r7kamura/[email protected]
- name: "rustfmt"
run: cargo fmt --all -- --check
Expand All @@ -59,7 +68,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: r7kamura/[email protected]
- run: cargo --version --verbose
- uses: Swatinem/rust-cache@v2
Expand All @@ -78,6 +89,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v5
with:
python-version: 3.8
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand Down

0 comments on commit 1af2b01

Please sign in to comment.