Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace unmaintained actions-rs/cargo actions in CI workflows #315

Merged
merged 1 commit into from
Mar 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/lint-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ jobs:
cargo-${{ runner.os }}-

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
run: cargo fmt --all -- --check

clippy:
name: Clippy
Expand All @@ -58,10 +55,7 @@ jobs:
cargo-${{ runner.os }}-

- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --all-targets --all-features
run: cargo clippy --all-targets --all-features

- name: Run clippy for gloo-net
working-directory: crates/net
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,7 @@ jobs:
cargo-${{ runner.os }}-

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --exclude gloo-net
run: cargo test --workspace --exclude gloo-net

browser_tests:
name: Browser Tests
Expand Down Expand Up @@ -215,7 +212,4 @@ jobs:
HTTPBIN_URL: "http://localhost:8080"
WS_ECHO_SERVER_URL: "ws://localhost:8081"
SSE_ECHO_SERVER_URL: "http://localhost:8081/.sse"
uses: actions-rs/cargo@v1
with:
command: test
args: -p gloo-net --all-features
run: cargo test -p gloo-net --all-features