Skip to content

Commit

Permalink
Bump checkout and setup-node actions to v4 (#1853)
Browse files Browse the repository at this point in the history
All checkout actions prior v4 use NodeJS 16 which has been deprecated by github actions. 
Same is the case with setup-node@v1.
  • Loading branch information
nitinprakash96 authored May 18, 2024
1 parent 8ad4efe commit 96d80fd
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_todos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
name: Enforce issue references
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: |
scripts/validate/issues-for-todos.sh
8 changes: 4 additions & 4 deletions .github/workflows/haskell-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Zip data directory
run: |
Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
path: ~/.haskell-ci-tools

- name: Check out code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: cache
uses: actions/cache@v2
Expand Down Expand Up @@ -171,9 +171,9 @@ jobs:
asset_name: swarm-${{ runner.os }}
asset_content_type: application/octet-stream

- name: Generate tarball for Hackage
- name: Generate tarball for Hackage
run: $CABAL v2-sdist

# - name: Generate documentation for Hackage
# # The hackage-server attempts to build documentation for library packages, but this can fail.
# # If it does we can do it ourselves
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scenario-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
name: Validate scenarios against schema
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vscode-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/vscode-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yaml-normalization.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
with:
version: "v4.35.1"
download-compressed: true
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Normalize
run: |
scripts/normalize/yaml.sh
Expand Down

0 comments on commit 96d80fd

Please sign in to comment.