Преглед на файлове

ci: Moving actions to dtolnay's version

(exa PR) 1188: Moving actions to dtolnay's version
Christina Sørensen преди 2 години
родител
ревизия
c978469a08
променени са 1 файла, в които са добавени 4 реда и са изтрити 12 реда
  1. 4 12
      .github/workflows/unit-tests.yml

+ 4 - 12
.github/workflows/unit-tests.yml

@@ -32,23 +32,15 @@ jobs:
 
 
     steps:
     steps:
       - name: Checkout repository
       - name: Checkout repository
-        uses: actions/checkout@v2
+        uses: actions/checkout@v3
 
 
       - name: Install Rust toolchain
       - name: Install Rust toolchain
-        uses: actions-rs/toolchain@v1
+        uses: dtolnay/rust-toolchain@v1
         with:
         with:
-          profile: minimal
           toolchain: ${{ matrix.rust }}
           toolchain: ${{ matrix.rust }}
-          override: true
 
 
       - name: Install cargo-hack
       - name: Install cargo-hack
-        uses: actions-rs/cargo@v1
-        with:
-          command: install
-          args: cargo-hack
+        run: cargo install cargo-hack@0.5.27
 
 
       - name: Run unit tests
       - name: Run unit tests
-        uses: actions-rs/cargo@v1
-        with:
-          command: hack
-          args: test --feature-powerset
+        run: cargo hack test --feature-powerset