Skip to content

Commit

Permalink
update CI
Browse files Browse the repository at this point in the history
  • Loading branch information
wx257osn2 committed Feb 6, 2024
1 parent d3b200e commit ddd2314
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 27 deletions.
16 changes: 0 additions & 16 deletions .github/actions/cache_cargo/action.yaml

This file was deleted.

12 changes: 5 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,17 @@ jobs:
run: |
sudo apt-get install -y gcc-12 g++-12
sudo update-alternatives --install /usr/local/bin/gcc gcc /usr/bin/gcc-12 12 --slave /usr/local/bin/g++ g++ /usr/bin/g++-12
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/cache_cargo
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- uses: actions/cache@v2
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
- uses: actions/cache@v4
with:
path: images
key: key
- id: cached
uses: andstor/file-existence-action@v1
uses: andstor/file-existence-action@v3
with:
files: images
- name: get benchmark suite
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ jobs:
fmt_lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: ./.github/actions/cache_cargo
- uses: actions-rs/toolchain@v1
- uses: Swatinem/rust-cache@v2
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable
components: rustfmt, clippy
- name: run
shell: bash
Expand Down

0 comments on commit ddd2314

Please sign in to comment.