Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabi O'Bittern committed Jan 16, 2025
1 parent e9628e0 commit fc6597b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 41 deletions.
13 changes: 1 addition & 12 deletions .github/actions/build_env/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,9 @@ runs:
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: 1.78.0
toolchain: stable
override: true

- name: install rustfmt clippy
shell: bash
run: rustup component add rustfmt clippy

- name: also rust cache
uses: Swatinem/[email protected]
with:
shared-key: "libra"
cache-on-failure: "true"

# call own action for libra_cli
# known issue with needing to hard code the @version
# https://github.com/orgs/community/discussions/41927
- uses: 0LNetworkCommunity/libra-framework/.github/actions/get_cli@main
26 changes: 0 additions & 26 deletions .github/actions/get_cli/action.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/cleanliness.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ jobs:
- name: setup env
uses: ./.github/actions/build_env

- uses: Swatinem/rust-cache@v2.7.3
- uses: Swatinem/rust-cache@v2
with:
shared-key: "libra-framework"
shared-key: "forensic-db"
cache-all-crates: true
cache-on-failure: true

- name: format
uses: actions-rs/cargo@v1
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/rust-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ jobs:
- name: setup env
uses: ./.github/actions/build_env

- uses: Swatinem/rust-cache@v2.7.3
- uses: Swatinem/rust-cache@v2
with:
shared-key: "forensic-db"
cache-all-crates: true
cache-on-failure: true

- name: test
working-directory: ./
Expand Down

0 comments on commit fc6597b

Please sign in to comment.