Skip to content

Commit

Permalink
fix: CodeQL findings
Browse files Browse the repository at this point in the history
  • Loading branch information
aellwein committed Jan 14, 2025
1 parent f3b7f9b commit 72c89a0
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
uses: jetli/trunk-action@69821d4eec12c308c4b811e459e37556cf920057 # v0.5.0
with:
version: 'latest'

Expand All @@ -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/
Expand All @@ -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: |
Expand All @@ -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

0 comments on commit 72c89a0

Please sign in to comment.