Skip to content

Commit

Permalink
Update actions in workflows to use Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
ra1nb0rn committed May 7, 2024
1 parent ef74e30 commit 12c040b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout search_vulns code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check if code for building resources was changed
uses: dorny/paths-filter@v2
uses: dorny/paths-filter@v3
id: changes
with:
filters: |
Expand All @@ -21,10 +21,10 @@ jobs:
- 'updater.py'
- name: Set up Python and Pip
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.8'
python-version: '3.10'

- name: Upgrade Pip
run: python3 -m pip install --upgrade pip
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/update_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout search_vulns code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Set up Python and Pip
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
cache: 'pip'
python-version: '3.8'
python-version: '3.10'
- name: Upgrade Pip
run: python3 -m pip install --upgrade pip
- name: Install tool and build DB
Expand All @@ -35,7 +35,7 @@ jobs:
LATEST_TAG=$(curl -s -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/ra1nb0rn/search_vulns/releases/latest | jq -r '.tag_name')
echo "LATEST_RELEASE_TAG=$LATEST_TAG" >> $GITHUB_ENV
- name: Update resource files of latest release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
tag_name: ${{ env.LATEST_RELEASE_TAG }}
Expand Down

0 comments on commit 12c040b

Please sign in to comment.