Skip to content

Update CI to support multiple versions of the ICU4X executor in Rust #16

Update CI to support multiple versions of the ICU4X executor in Rust

Update CI to support multiple versions of the ICU4X executor in Rust #16

Workflow file for this run

name: Run Rust tests

Check failure on line 1 in .github/workflows/run-rust.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-rust.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: strategy
on:
push:
branches: [ main ]
pull_request:
branches: '*'
jobs:
strategy:
matrix:
icu4x-version:
- 1.3
- 1.4
rust_lint:
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.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/${{ icu4x-version }}/Cargo.toml
- uses: actions-rs/cargo@v1
name: "Run Rustfmt"
with:
command: fmt
args: --manifest-path executors/rust/${{ icu4x-version }}/Cargo.toml -- --check