Skip to content

Commit

Permalink
chore: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
darkskygit committed Jan 31, 2024
1 parent 9fb6c2f commit ca6feae
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup-rust/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,8 @@ runs:
toolchain: ${{ inputs.toolchain }}
targets: ${{ inputs.targets }}
components: ${{ inputs.components }}
- name: Add Targets
if: ${{ inputs.targets }}
run: rustup target add ${{ inputs.targets }}
shell: bash
- uses: Swatinem/rust-cache@v2
14 changes: 7 additions & 7 deletions .github/workflows/jwst.yml
Original file line number Diff line number Diff line change
Expand Up @@ -388,10 +388,10 @@ jobs:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
components: llvm-tools-preview
- uses: Swatinem/rust-cache@v2

- name: Install latest nextest release
uses: taiki-e/install-action@nextest
Expand All @@ -416,8 +416,8 @@ jobs:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Setup Rust
uses: ./.github/actions/setup-rust

- name: Install latest nextest release
uses: taiki-e/install-action@nextest
Expand All @@ -435,10 +435,10 @@ jobs:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
- name: Setup Rust
uses: ./.github/actions/setup-rust
with:
toolchain: nightly-2023-05-23
- uses: Swatinem/rust-cache@v2
toolchain: nightly-2023-08-19

- name: fuzzing
working-directory: ./libs/jwst-codec-utils
Expand Down

0 comments on commit ca6feae

Please sign in to comment.