Skip to content

Commit

Permalink
chore: test new cross
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 15, 2024
1 parent 169e64f commit b4e9713
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/rust-cubesql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
timeout-minutes: 20
name: Check fmt/clippy
container:
image: cubejs/rust-cross:x86_64-unknown-linux-gnu-25062024
image: cubejs/rust-cross:x86_64-unknown-linux-gnu-01072024

steps:
- name: Checkout
Expand All @@ -32,18 +32,18 @@ jobs:
# override: true # this is by default on
rustflags: ""
components: rustfmt, clippy
# - uses: Swatinem/rust-cache@v2
# with:
# workspaces: ./rust/cubesql -> target
# # default key
# key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
# shared-key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
# - name: Lint CubeSQL
# run: cd rust/cubesql/cubesql && cargo fmt --all -- --check
# - name: Lint Native
# run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
# - name: Clippy Native
# run: cd packages/cubejs-backend-native && cargo clippy -- -D warnings
- uses: Swatinem/rust-cache@v2
with:
workspaces: ./rust/cubesql -> target
# default key
key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
shared-key: cubesql-${{ runner.OS }}-x86_64-unknown-linux-gnu
- name: Lint CubeSQL
run: cd rust/cubesql/cubesql && cargo fmt --all -- --check
- name: Lint Native
run: cd packages/cubejs-backend-native && cargo fmt --all -- --check
- name: Clippy Native
run: cd packages/cubejs-backend-native && cargo clippy -- -D warnings
# CubeSQL is not ready for Clippy
#- name: Clippy CubeSQL
# run: cd rust/cubesql && cargo clippy -- -D warnings
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
target: "aarch64-unknown-linux-gnu"
fail-fast: false
container:
image: cubejs/rust-cross:${{ matrix.target }}-25062024
image: cubejs/rust-cross:${{ matrix.target }}-01072024

steps:
- name: Checkout
Expand Down

0 comments on commit b4e9713

Please sign in to comment.