Skip to content

Commit

Permalink
Meta: update GitHub Actions (#7356)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck committed May 13, 2024
1 parent 0cae6f8 commit 2338618
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
actionlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # Disable git write access
- name: Download actionlint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/features.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
Verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand All @@ -26,13 +26,13 @@ jobs:
# Exclude commit pushes, there's no need there
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Must

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v44
with:
files: source/features/*.{tsx,css}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hotfixes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Leave comment
if: env.WAS_HOTFIXED
uses: peter-evans/create-or-update-comment@v3
uses: peter-evans/create-or-update-comment@v4
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: npx dot-json@1 "$DIRECTORY/manifest.json" version "$DAILY_VERSION"
- name: Ready for "submit" jobs
if: env.DAILY_VERSION_CREATED
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
path: ${{ env.DIRECTORY }}
- name: Create release
Expand All @@ -49,7 +49,7 @@ jobs:
environment: Chrome
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: npx chrome-webstore-upload-cli@2 upload --auto-publish
working-directory: artifact
env:
Expand All @@ -64,7 +64,7 @@ jobs:
environment: Firefox
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
- run: npx web-ext@7 sign --use-submission-api --channel listed
working-directory: artifact
env:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
Security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: npx lockfile-lint --path package-lock.json --validate-https

Vitest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand All @@ -32,7 +32,7 @@ jobs:
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand All @@ -43,7 +43,7 @@ jobs:
Types:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand All @@ -59,7 +59,7 @@ jobs:
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand All @@ -72,7 +72,7 @@ jobs:
with:
webpackStatsFile: ./webpack-stats.json
key: ${{ secrets.RELATIVE_CI_KEY }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: matrix.os == 'ubuntu-latest'
with:
name: refined-github
Expand All @@ -81,7 +81,7 @@ jobs:
Safari:
runs-on: macos-13
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: package.json
Expand Down

0 comments on commit 2338618

Please sign in to comment.