Skip to content

Commit

Permalink
ci: remove action-rs because it is no longer maintained
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalenic committed Feb 19, 2024
1 parent 80a9483 commit b015fc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 32 deletions.
20 changes: 4 additions & 16 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,10 @@ jobs:
toolchain: ${{ matrix.rust }}
- run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Build all features
uses: actions-rs/[email protected]
with:
command: build
args: --all-targets --all-features
run: cargo build --all-targets --all-features
- name: Build no default features
uses: actions-rs/[email protected]
with:
command: build
args: --all-targets --no-default-features
run: cargo build --all-targets --no-default-features
- name: Build s3-storage
uses: actions-rs/[email protected]
with:
command: build
args: --all-targets --features s3-storage
run: cargo build --all-targets --features s3-storage
- name: Build url-storage
uses: actions-rs/[email protected]
with:
command: build
args: --all-targets --features url-storage
run: cargo build --all-targets --features url-storage
20 changes: 4 additions & 16 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,22 +31,10 @@ jobs:
components: rustfmt, clippy
- run: rustup override set ${{ steps.toolchain.outputs.name }}
- name: Cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check
- name: Cargo clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features -- -D warnings
run: clippy --all-targets --all-features -- -D warnings
- name: Run cargo tests
uses: actions-rs/cargo@v1
with:
command: test
args: --all-features
run: test --all-features
- name: Run cargo tests with no default features
uses: actions-rs/cargo@v1
with:
command: test
args: --no-default-features
run: test --no-default-features

0 comments on commit b015fc7

Please sign in to comment.