mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-22 21:41:37 +00:00
ci: update actions/checkout and actions/setup-node versions in workflows
- Upgraded `actions/checkout` from v4 to v5 in `ci.yml` and `release.yml` for improved performance and features. - Updated `actions/setup-node` from v4 to v5 and changed the Node.js version from 20 to 22 in both workflows to ensure compatibility and access to the latest features.
This commit is contained in:
parent
f5944891a5
commit
d0c9d028e2
2 changed files with 12 additions and 12 deletions
12
.github/workflows/ci.yml
vendored
12
.github/workflows/ci.yml
vendored
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init rbx-dom submodule
|
- name: Init rbx-dom submodule
|
||||||
env:
|
env:
|
||||||
|
|
@ -49,15 +49,15 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init vscode-rojo submodule
|
- name: Init vscode-rojo submodule
|
||||||
run: git submodule update --init --depth 1 vscode-rojo
|
run: git submodule update --init --depth 1 vscode-rojo
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
working-directory: vscode-rojo
|
working-directory: vscode-rojo
|
||||||
|
|
@ -74,7 +74,7 @@ jobs:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init rbx-dom submodule
|
- name: Init rbx-dom submodule
|
||||||
run: git submodule update --init --depth 1 rbx-dom
|
run: git submodule update --init --depth 1 rbx-dom
|
||||||
|
|
@ -97,7 +97,7 @@ jobs:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init rbx-dom submodule
|
- name: Init rbx-dom submodule
|
||||||
run: git submodule update --init --depth 1 rbx-dom
|
run: git submodule update --init --depth 1 rbx-dom
|
||||||
|
|
|
||||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
|
|
@ -9,7 +9,7 @@ jobs:
|
||||||
name: Create Release
|
name: Create Release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
@ -23,7 +23,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
CARGO_INCREMENTAL: "0"
|
CARGO_INCREMENTAL: "0"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
|
|
||||||
|
|
@ -66,15 +66,15 @@ jobs:
|
||||||
name: Build VS Code Extension
|
name: Build VS Code Extension
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init vscode-rojo submodule
|
- name: Init vscode-rojo submodule
|
||||||
run: git submodule update --init --depth 1 vscode-rojo
|
run: git submodule update --init --depth 1 vscode-rojo
|
||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v5
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
working-directory: vscode-rojo
|
working-directory: vscode-rojo
|
||||||
|
|
@ -146,7 +146,7 @@ jobs:
|
||||||
if: runner.os == 'Windows'
|
if: runner.os == 'Windows'
|
||||||
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
run: Set-MpPreference -DisableRealtimeMonitoring $true
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v5
|
||||||
|
|
||||||
- name: Init rbx-dom submodule
|
- name: Init rbx-dom submodule
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue