diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b04ec6e3..7317f775 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,10 +33,10 @@ jobs: os: [ubuntu-latest, macos-latest, windows-latest] steps: - name: Checkout emulebb-rust - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Checkout emulebb-miniupnp (native C source) - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: emulebb/emulebb-miniupnp ref: ${{ env.MINIUPNP_REF }} @@ -46,7 +46,7 @@ jobs: uses: dtolnay/rust-toolchain@1a3a6d54512beeaffd394f8d516ca16f2c506a20 # 1.97.0 - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" @@ -88,13 +88,13 @@ jobs: CARGO_TARGET_DIR: ${{ github.workspace }}/../emulebb-rust-out/builds/rust/target steps: - name: Checkout emulebb-rust - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 # clippy --workspace builds emulebb-miniupnpc-sys, whose build.rs compiles # the vendored MiniUPnP C source; provide it exactly as the build-test job # does so the clippy step is not blocked on a native build failure. - name: Checkout emulebb-miniupnp (native C source) - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: emulebb/emulebb-miniupnp ref: ${{ env.MINIUPNP_REF }} @@ -106,7 +106,7 @@ jobs: components: rustfmt, clippy - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" @@ -129,9 +129,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout emulebb-rust - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: cargo-deny — advisories, licenses, and sources - uses: EmbarkStudios/cargo-deny-action@bb137d7af7e4fb67e5f82a49c4fce4fad40782fe # v2 + uses: EmbarkStudios/cargo-deny-action@3c6349835b2b7b196a839186cb8b78e02f7b5f25 # v2 with: command: check advisories licenses sources diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2553c08f..4ae6922a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,19 +30,19 @@ jobs: CARGO_TARGET_DIR: ${{ github.workspace }}/../emulebb-rust-out/builds/rust/target steps: - name: Checkout emulebb-rust - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: ref: ${{ github.event.inputs.ref || github.ref }} - name: Checkout emulebb-miniupnp (native C source) - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: emulebb/emulebb-miniupnp ref: ${{ env.MINIUPNP_REF }} path: .ci/emulebb-miniupnp - name: Checkout emulebb-tooling release scope - uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: repository: emulebb/emulebb-tooling ref: main @@ -52,7 +52,7 @@ jobs: uses: dtolnay/rust-toolchain@1a3a6d54512beeaffd394f8d516ca16f2c506a20 # 1.97.0 - name: Set up Python - uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6 + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 with: python-version: "3.12" @@ -84,7 +84,7 @@ jobs: --out "$RELEASE_OUT_DIR" - name: Publish to the GitHub release - uses: softprops/action-gh-release@3bb12739c298aeb8a4eeaf626c5b8d85266b0e65 # v2 + uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.2 env: RELEASE_OUT_DIR: ${{ runner.temp }}/emulebb-rust-dist with: