From 2f9ba168890a45588918bb5a52de128c20100bb9 Mon Sep 17 00:00:00 2001 From: Ero Carrera Date: Mon, 22 Apr 2024 12:37:45 +0200 Subject: [PATCH] Remove version comments in updated actions --- .github/workflows/tests.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 31e8c9a..1e7eaf6 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -27,13 +27,13 @@ jobs: steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 + uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 with: egress-policy: audit - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d with: python-version: ${{ matrix.python-version }} - name: Install dependencies @@ -48,7 +48,7 @@ jobs: flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Clone https://github.com/erocarrera/pefile-tests - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 with: repository: erocarrera/pefile-tests path: ./pefile-tests @@ -59,7 +59,7 @@ jobs: - if: ${{matrix.coverage}} name: "Upload coverage data" - uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba # v4.3.2 + uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba with: name: covdata path: .coverage.* @@ -70,15 +70,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Harden Runner - uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 + uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 with: egress-policy: audit - name: "Check out the repo" - uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1" + uses: "actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 - name: "Set up Python" - uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0" + uses: "actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d with: python-version: "3.10" @@ -87,7 +87,7 @@ jobs: python -m pip install tox tox-gh-actions - name: "Download coverage data" - uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2 + uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a with: name: covdata @@ -99,7 +99,7 @@ jobs: echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY - name: "Make badge" - uses: schneegans/dynamic-badges-action@5d424ad4060f866e4d1dab8f8da0456e6b1c4f56 # v1.6.0 + uses: schneegans/dynamic-badges-action@5d424ad4060f866e4d1dab8f8da0456e6b1c4f56 with: # GIST_TOKEN is a GitHub personal access token with scope "gist". auth: ${{ secrets.GIST_TOKEN }}