Skip to content

Commit

Permalink
Merge pull request #238 from IlyasOsman/deprecated-actions
Browse files Browse the repository at this point in the history
update github actions to the latest version
  • Loading branch information
mr-tz authored Jun 5, 2024
2 parents d005588 + 477aa17 commit 3f5f77f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 3f5f77f

Please sign in to comment.