diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dd382fe..7db8452 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,7 +48,7 @@ jobs: runs-on: macos-latest steps: - name: Checkout the repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 1 - name: Build binary @@ -60,12 +60,12 @@ jobs: args: "--locked --release" strip: true - name: Upload binary artifact (client) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: ${{ env.BINARY_NAME }}-${{ matrix.platform.target }} path: target/${{ matrix.platform.target }}/release/${{ env.BINARY_NAME }} - name: Upload binary artifact (server) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: ${{ env.BINARY_NAME }}-server-${{ matrix.platform.target }} path: target/${{ matrix.platform.target }}/release/${{ env.BINARY_NAME }}-server @@ -83,7 +83,7 @@ jobs: ## runs-on: windows-latest # error: linker `i686-w64-mingw32-gcc` not found steps: - name: Checkout the repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 1 - name: Build binary @@ -95,12 +95,12 @@ jobs: args: "--locked --release" strip: true - name: Upload binary artifact (client) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: ${{ env.BINARY_NAME }}-${{ matrix.platform.target }} path: target/${{ matrix.platform.target }}/release/${{ env.BINARY_NAME }}.exe - name: Upload binary artifact (server) - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7 + uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7 with: name: ${{ env.BINARY_NAME }}-server-${{ matrix.platform.target }} path: target/${{ matrix.platform.target }}/release/${{ env.BINARY_NAME }}-server.exe diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 31a7ffa..f212e6b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Download artifacts - uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8 + uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8 with: path: ./artifacts - name: Rename files diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d717b16..6c4bae6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,16 +17,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout the repository - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 with: fetch-depth: 1 - name: Install Rust nightly toolchain - uses: dtolnay/rust-toolchain@e97e2d8cc328f1b50210efc529dca0028893a2d9 # v1 + uses: dtolnay/rust-toolchain@683b588c487a69d01f6c6ddf40f036ff682cc2c8 # v1 with: components: miri toolchain: nightly - name: Cache cargo registry, index, and targets - uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 + uses: Swatinem/rust-cache@d1527c8f67ef9af357290475d4af4b0fab8f12e0 # v2 with: prefix-key: "cargo-miri" - name: Run Miri tests