Skip to content

Commit

Permalink
Update workflows to use v4 actions (actions#1652)
Browse files Browse the repository at this point in the history
* Update releases.yml to use v4 actions

* Bump all workflows
  • Loading branch information
konradpabjan committed Feb 1, 2024
1 parent e6c1cd0 commit 415c42d
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/audit.yml
Expand Up @@ -18,10 +18,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cache-tests.yml
Expand Up @@ -22,10 +22,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Expand Up @@ -20,7 +20,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/releases.yml
Expand Up @@ -13,13 +13,13 @@ jobs:

steps:
- name: setup repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: verify package exists
run: ls packages/${{ github.event.inputs.package }}

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand All @@ -40,7 +40,7 @@ jobs:
working-directory: packages/${{ github.event.inputs.package }}

- name: upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ github.event.inputs.package }}
path: packages/${{ github.event.inputs.package }}/*.tgz
Expand All @@ -52,7 +52,7 @@ jobs:
steps:

- name: download artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: ${{ github.event.inputs.package }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Expand Up @@ -23,10 +23,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set Node.js 20.x
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-github.yaml
Expand Up @@ -9,7 +9,7 @@ jobs:
if: ${{ github.repository_owner == 'actions' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Update Octokit
working-directory: packages/github
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/action-types.md
Expand Up @@ -32,7 +32,7 @@ jobs:
os: [ubuntu-16.04, windows-2019]
runs-on: ${{matrix.os}}
actions:
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
version: ${{matrix.node}}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/container-action.md
Expand Up @@ -18,7 +18,7 @@ e.g. To use https://github.com/actions/setup-node, users will author:

```yaml
steps:
using: actions/setup-node@v3
using: actions/setup-node@v4
```

# Define Metadata
Expand Down

0 comments on commit 415c42d

Please sign in to comment.