From 477aa17859e14eb0f2e831b80d6560dd77d43c90 Mon Sep 17 00:00:00 2001 From: ilyasosman Date: Wed, 5 Jun 2024 15:00:14 +0300 Subject: [PATCH] update github actions --- .github/workflows/sync.yml | 4 ++-- .github/workflows/tests.yml | 14 +++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 4585fe0..12aa365 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -9,12 +9,12 @@ jobs: # Do not checkout submodules as we don't need capa-rules and we need to # update the tests/data submodule reference - name: Checkout capa - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 with: repository: mandiant/capa token: ${{ secrets.CAPA_TOKEN }} - name: Checkout capa-testfiles - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 with: path: tests/data - name: Commit changes diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index cd69358..0da0a9c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,9 +12,9 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout testfiles repository - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: 3.8 - name: Test repository files @@ -25,27 +25,27 @@ jobs: steps: # We check the submodules separately as the rules submodule's reference may not be our PR/master - name: Checkout capa without submodules - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 with: repository: mandiant/capa - name: Checkout capa-rules - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 with: repository: mandiant/capa-rules path: rules - name: Checkout capa-testfiles - uses: actions/checkout@v3 + uses: actions/checkout@b80ff79f1755d06ba70441c368a6fe801f5f3a62 # v4.1.6 with: path: tests/data - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0 with: python-version: 3.8 - name: Install capa run: pip install -e . - name: Get modified files id: files - uses: Ana06/get-changed-files@v2.2.0 + uses: Ana06/get-changed-files@v2.3.0 - name: Check capa runtime on modified files run: | cd tests/data