Skip to content

Commit

Permalink
ci:fix rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
limuy2022 committed Jun 16, 2024
1 parent cb9c88d commit 6013576
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/rust_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: RustLinux

on:
push:
branches: ["main"]
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]

Expand All @@ -16,7 +16,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Config Env
run: rustup install nightly && rustup default nightly
run: rustup install nightly && rustup default nightly && rustup component add rustfmt
- name: Build
run: cd gdrust && cargo build --all
- name: Build Release
Expand All @@ -25,4 +25,5 @@ jobs:
run: cd gdrust && cargo test --all
- name: Run tests Release
run: cd gdrust && cargo test --all --release

- name: Check Fmt
run: cd gdrust && cargo fmt -- --check
21 changes: 0 additions & 21 deletions .github/workflows/rustfmt.yml

This file was deleted.

0 comments on commit 6013576

Please sign in to comment.