Merge pull request #35 from alexwlchan/non-deprecated-github-actions
- ID
078fc68- date
2024-05-12 09:44:20+00:00- author
Alex Chan <alex@alexwlchan.net>- parents
1ea6977,4ec79d1- message
Merge pull request #35 from alexwlchan/non-deprecated-github-actions Ditch the deprecated actions from the `actions-rs` organisation- changed files
1 file, 5 additions, 14 deletions
Changed files
.github/workflows/build.yml (567) → .github/workflows/test.yml (340)
diff --git a/.github/workflows/build.yml b/.github/workflows/test.yml
similarity index 62%
rename from .github/workflows/build.yml
rename to .github/workflows/test.yml
index b6112fd..a208df6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/test.yml
@@ -11,19 +11,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions-rs/toolchain@v1
+ - uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
- - name: build
- uses: actions-rs/cargo@v1
- with:
- command: build
- - name: test
- uses: actions-rs/cargo@v1
- with:
- command: test
- - name: check formatting
- uses: actions-rs/cargo@v1
- with:
- command: fmt
- args: --check
+
+ - run: cargo build
+ - run: cargo test
+ - run: cargo fmt --check