From e602cc7a3916b755f40d08ae35c605bb75dc81ee Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Sun, 11 Jun 2023 06:16:29 +0000 Subject: [PATCH] ci: update various dependencies as of 2023-06-11 (#1201) Updates: - actions/checkout - crazy-max/ghaction-choclatey - actions/setup-python --- .github/workflows/audit.yml | 2 +- .github/workflows/build_releases.yml | 10 +++++----- .github/workflows/ci.yml | 8 ++++---- .github/workflows/clear-workflow-cache.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/deployment.yml | 2 +- .github/workflows/docs.yml | 7 ++----- .github/workflows/post-release.yml | 6 +++--- .github/workflows/test-docs.yml | 4 ++-- 9 files changed, 20 insertions(+), 23 deletions(-) diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 093b393e..aeb79b5b 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d diff --git a/.github/workflows/build_releases.yml b/.github/workflows/build_releases.yml index fef31417..667a97fa 100644 --- a/.github/workflows/build_releases.yml +++ b/.github/workflows/build_releases.yml @@ -121,7 +121,7 @@ jobs: } steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 @@ -207,7 +207,7 @@ jobs: runs-on: "windows-2019" steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 @@ -216,7 +216,7 @@ jobs: run: Install-WindowsFeature Net-Framework-Core - name: Install wixtoolset - uses: crazy-max/ghaction-chocolatey@90deb87d9fbf0bb2f022b91e3bf11b4441cddda5 # 2.1.0 + uses: crazy-max/ghaction-chocolatey@5a5864861ce2c988001531e48993aa687c51f6c8 # 2.2.0 with: args: install -y wixtoolset @@ -253,7 +253,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 @@ -315,7 +315,7 @@ jobs: } steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20bd5e52..8934686f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,7 +86,7 @@ jobs: features: ["--all-features", "--no-default-features"] steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d @@ -241,7 +241,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d @@ -256,7 +256,7 @@ jobs: key: ${{ matrix.info.target }} cache-all-crates: true - - name: Try building with default features + - name: Try building with only default features enabled uses: ClementTsang/cargo-action@v0.0.3 if: ${{ matrix.info.no-default-features != true }} with: @@ -265,7 +265,7 @@ jobs: use-cross: ${{ matrix.info.cross }} cross-version: 0.2.5 - - name: Try building with no features + - name: Try building with no features enabled uses: ClementTsang/cargo-action@v0.0.3 if: ${{ matrix.info.no-default-features == true }} with: diff --git a/.github/workflows/clear-workflow-cache.yml b/.github/workflows/clear-workflow-cache.yml index 2b096129..2ea06991 100644 --- a/.github/workflows/clear-workflow-cache.yml +++ b/.github/workflows/clear-workflow-cache.yml @@ -22,7 +22,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f6a02f12..5df07b7a 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -47,7 +47,7 @@ jobs: - { os: "windows-2019", target: "x86_64-pc-windows-msvc" } steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set up Rust toolchain uses: dtolnay/rust-toolchain@b44cb146d03e8d870c57ab64b80f04586349ca5d diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 842e4385..d73270ee 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -61,7 +61,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 1 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9c21170c..616739ce 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -21,11 +21,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 - - uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 + - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 with: python-version: 3.11 @@ -43,6 +43,3 @@ jobs: run: | cd docs mike deploy nightly --push - # - name: Deploy to CF Pages - # run: | - # curl -X POST ${{ secrets.BOTTOM_CFP_HOOK }} diff --git a/.github/workflows/post-release.yml b/.github/workflows/post-release.yml index 2796557c..ef1a1e33 100644 --- a/.github/workflows/post-release.yml +++ b/.github/workflows/post-release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 @@ -35,7 +35,7 @@ jobs: exit 1 fi - - uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 + - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 with: python-version: 3.11 @@ -66,7 +66,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 - name: Set env run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 5927e721..2dd6a31d 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -29,11 +29,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 + uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 with: fetch-depth: 0 - - uses: actions/setup-python@57ded4d7d5e986d7296eab16560982c6dd7c923b # v4.6.0 + - uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1 with: python-version: 3.11