Skip to main content

Ditch the deprecated actions from the actions-rs organisation

ID
4ec79d1
date
2024-05-12 09:41:46+00:00
author
Alex Chan <alex@alexwlchan.net>
parent
1ea6977
message
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