Skip to content

Commit

Permalink
Upgrade upload/download-artifact GitHub actions to v4 (#197)
Browse files Browse the repository at this point in the history
* Upgrade upload/download-artifact GitHub actions to v4

* Bump other action versions
  • Loading branch information
apt-itude authored Jan 29, 2025
1 parent b58b460 commit 344b4f0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: lts/*
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
# pre-commit is a Python script, this speedup things from Xmin to Ymin?
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
# note that in a CI context pre-commit runs the hooks with the '--all' flag, so
Expand All @@ -30,7 +30,7 @@ jobs:
github-actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: reviewdog/action-actionlint@v1
with:
fail_on_error: true
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: Deploy Extension
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: lts/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ jobs:
image: returntocorp/semgrep
if: (github.actor != 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: semgrep ci
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Semgrep
Expand Down Expand Up @@ -63,15 +63,15 @@ jobs:
run: npm run test-js
- name: upload semgrep results for windows
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: semgrep-results
path: ./*_results.json
vsce-test-windows:
needs: vsce-test
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup
uses: actions/[email protected]
with:
Expand All @@ -87,7 +87,7 @@ jobs:
- name: pretest
run: npm run pretest
- name: download semgrep results from linux
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: semgrep-results
path: ./
Expand All @@ -97,7 +97,7 @@ jobs:
vsce-prepublish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: lts/*
Expand Down

0 comments on commit 344b4f0

Please sign in to comment.