Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelchcki committed Sep 22, 2023
1 parent f5b6aef commit 05a2f25
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/experiments-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on:
paths:
- 'experimental/**' # Only run action when experiments have changed

defaults:
run:
working-directory: ./experimental

env:
CARGO_TERM_COLOR: always

jobs:
rustfmt:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./experimental
steps:
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -28,13 +27,16 @@ jobs:
matrix:
rust_version: ["stable"]
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./experimental
steps:
- name: Checkout sources
uses: actions/checkout@v3
- name: Cache
uses: ./.github/actions/cache
with:
rust_version: ${{ matrix.rust_version }}
- name: Install ${{ matrix.version }} toolchain and clippy
- name: Install ${{ matrix.rust_version }} toolchain and clippy
run: rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }} && rustup component add clippy
- run: cargo clippy --all-targets --all-features -- -D warnings
7 changes: 3 additions & 4 deletions .github/workflows/experiments-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,16 @@ on:
paths:
- 'experimental/**' # Only run action when experiments have changed

defaults:
run:
working-directory: ./experimental

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: "cargo test --workspace #${{ matrix.platform }} ${{ matrix.rust_version }}"
runs-on: ${{ matrix.platform }}
defaults:
run:
working-directory: ./experimental
strategy:
matrix:
platform: [windows-latest, ubuntu-latest, macos-12]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
uses: ./.github/actions/cache
with:
rust_version: ${{ matrix.rust_version }}
- name: Install ${{ matrix.version }} toolchain and clippy
- name: Install ${{ matrix.rust_version }} toolchain and clippy
run: rustup install ${{ matrix.rust_version }} && rustup default ${{ matrix.rust_version }} && rustup component add clippy
- run: cargo clippy --all-targets --all-features -- -D warnings
licensecheck:
Expand Down

0 comments on commit 05a2f25

Please sign in to comment.