Skip to content

Commit

Permalink
update Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz committed Jan 2, 2023
1 parent da6fed5 commit 313000e
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@v2
uses: actions/checkout@v3
with:
repository: mandiant/capa
token: ${{ secrets.CAPA_TOKEN }}
- name: Checkout capa-testfiles
uses: actions/checkout@v2
uses: actions/checkout@v3
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@v2
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
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@v2
uses: actions/checkout@v3
with:
repository: mandiant/capa
- name: Checkout capa-rules
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
repository: mandiant/capa-rules
path: rules
- name: Checkout capa-testfiles
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
path: tests/data
- name: Set up Python 3.8
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install capa
run: pip install -e .
- name: Get modified files
id: files
uses: Ana06/get-changed-files@v1.2
uses: Ana06/get-changed-files@v2.2.0
with:
format: 'csv'
- name: Check capa runtime on modified files
Expand Down

0 comments on commit 313000e

Please sign in to comment.