mirror of
https://github.com/swarm-game/swarm.git
synced 2024-08-17 02:20:31 +03:00
Bump checkout and setup-node actions to v4 (#1853)
All checkout actions prior v4 use NodeJS 16 which has been deprecated by github actions. Same is the case with setup-node@v1.
This commit is contained in:
parent
8ad4efee35
commit
96d80fd0f2
2
.github/workflows/check_todos.yml
vendored
2
.github/workflows/check_todos.yml
vendored
@ -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
.github/workflows/haskell-release.yml
vendored
8
.github/workflows/haskell-release.yml
vendored
@ -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: |
|
||||
@ -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
|
||||
@ -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
|
||||
|
2
.github/workflows/scenario-schema.yml
vendored
2
.github/workflows/scenario-schema.yml
vendored
@ -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:
|
||||
|
2
.github/workflows/vscode-ci.yml
vendored
2
.github/workflows/vscode-ci.yml
vendored
@ -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:
|
||||
|
4
.github/workflows/vscode-publish.yml
vendored
4
.github/workflows/vscode-publish.yml
vendored
@ -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: |
|
||||
|
2
.github/workflows/yaml-normalization.yml
vendored
2
.github/workflows/yaml-normalization.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user