Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lens0021 authored Nov 25, 2024
1 parent 78c8e02 commit 942c704
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,13 @@ env:
CARGO_TERM_COLOR: always

jobs:
build_and_test:
name: Rust and clippy tests
matrix:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
sed:
- "GNU"
bash_version:
- "5.3"
- "5.2"
Expand All @@ -43,10 +44,14 @@ jobs:
- "4.2"
- "4.1"
- "4.0"
- "BusyBox"
sed:
- "GNU"
- "BusyBox"
include:
- sed: BusyBox
bash_version: "latest"

build_and_test:
name: Rust and clippy tests
runs-on: ubuntu-latest
needs: matrix
if: ${{ ( matrix.sed == "GNU" && matrix.bash_version != "BusyBox" ) || ( matrix.sed == "BusyBox" && matrix.bash_version == "BusyBox" ) }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 942c704

Please sign in to comment.