From 72c89a00f76bf9f58be96ebb99603500e829618e Mon Sep 17 00:00:00 2001 From: Alex Ellwein Date: Tue, 14 Jan 2025 19:10:20 +0100 Subject: [PATCH] fix: CodeQL findings --- .github/workflows/main.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 86c064e..fbc6838 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,16 +19,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v4 + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - name: Enable Rust cache - uses: Swatinem/rust-cache@v2 + uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7 - name: Setup Rust - uses: actions-rust-lang/setup-rust-toolchain@v1 + uses: actions-rust-lang/setup-rust-toolchain@11df97af8e8102fd60b60a77dfbf58d40cd843b8 # v1.10.1 - name: Setup trunk - uses: jetli/trunk-action@v0.5.0 + uses: jetli/trunk-action@69821d4eec12c308c4b811e459e37556cf920057 # v0.5.0 with: version: 'latest' @@ -50,7 +50,7 @@ jobs: BR_NAME: ${{ github.head_ref || github.ref_name }} - name: upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0 with: name: dist-${{ env.REPL_BRANCH_NAME }} path: dist/ @@ -66,7 +66,7 @@ jobs: steps: - name: Setup pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 - name: replace branch name run: | @@ -75,16 +75,16 @@ jobs: BR_NAME: ${{ github.head_ref || github.ref_name }} - name: Download artifact - uses: actions/download-artifact@v4 + uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 with: name: dist-${{ env.REPL_BRANCH_NAME }} path: dist/ - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1 with: path: 'dist' - name: Deploy to GitHub pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5