Skip to content

Commit

Permalink
Update CI to support multiple versions of the ICU4X executor in Rust
Browse files Browse the repository at this point in the history
  • Loading branch information
sven-oly committed Nov 20, 2023
1 parent 39f254e commit 4755d1e
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/run-rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,24 +7,30 @@ on:
branches: '*'

jobs:
strategy:
matrix:
icu4x-version:
- 1.3
- 1.4

rust_lint:
name: Lint the rust executor code on submission
name: Lint the executor code for ICU4X (${{ icu4x-version }})
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.66
toolchain: 1.73
components: rustfmt, clippy
default: true
- uses: actions-rs/cargo@v1
name: "Run Clippy"
with:
command: clippy
args: --all-targets --all-features --manifest-path executors/rust/Cargo.toml
args: --all-targets --all-features --manifest-path executors/rust/${{ icu4x-version }}/Cargo.toml
- uses: actions-rs/cargo@v1
name: "Run Rustfmt"
with:
command: fmt
args: --manifest-path executors/rust/Cargo.toml -- --check
args: --manifest-path executors/rust/${{ icu4x-version }}/Cargo.toml -- --check

0 comments on commit 4755d1e

Please sign in to comment.