refactor: Update Node.js setup and cache actions to latest versions
This commit is contained in:
parent
f2a9598c5c
commit
812ed24265
3 changed files with 13 additions and 13 deletions
18
.github/workflows/build-macos.yml
vendored
18
.github/workflows/build-macos.yml
vendored
|
|
@ -17,7 +17,7 @@ jobs:
|
|||
runs-on: "macos-12"
|
||||
steps:
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
run: npm install -g pnpm
|
||||
|
||||
- name: Setup Cache
|
||||
uses: actions/cache@v3
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
|
|
@ -35,25 +35,25 @@ jobs:
|
|||
${{ runner.os }}-go-
|
||||
|
||||
- name: Checkout Kun
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/kun
|
||||
path: kun
|
||||
|
||||
- name: Checkout Xun
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/xun
|
||||
path: xun
|
||||
|
||||
- name: Checkout Gou
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/gou
|
||||
path: gou
|
||||
|
||||
- name: Checkout V8Go
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/v8go
|
||||
lfs: true
|
||||
|
|
@ -62,13 +62,13 @@ jobs:
|
|||
- name: Checkout XGen v1.0
|
||||
# ** XGEN will be renamed to DUI in the feature. and move to the new repository. **
|
||||
# ** new repository: https://github.com/YaoApp/dui.git **
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/xgen
|
||||
path: xgen-v1.0
|
||||
|
||||
- name: Checkout Yao-Init
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: yaoapp/yao-init
|
||||
path: yao-init
|
||||
|
|
@ -87,7 +87,7 @@ jobs:
|
|||
ls -l ../xgen-v1.0/packages/setup/
|
||||
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Go ${{ matrix.go }}
|
||||
uses: actions/setup-go@v3
|
||||
|
|
|
|||
4
.github/workflows/pr-test.yml
vendored
4
.github/workflows/pr-test.yml
vendored
|
|
@ -54,7 +54,7 @@ env:
|
|||
## Path
|
||||
YAO_EXTENSION_ROOT: ${{ github.WORKSPACE }}/../extension
|
||||
YAO_TEST_APPLICATION: ${{ github.WORKSPACE }}/../app
|
||||
YAO_SUI_TEST_APPLICATION: ${{ github.WORKSPACE }}/../yao-yao-startup-webapp
|
||||
YAO_SUI_TEST_APPLICATION: ${{ github.WORKSPACE }}/../yao-startup-webapp
|
||||
YAO_TEST_BUILDER_APPLICATION: ${{ github.WORKSPACE }}/../page-builder-app
|
||||
|
||||
## Runtime
|
||||
|
|
@ -232,7 +232,7 @@ jobs:
|
|||
password: ${{ secrets.UNIT_PASS }}
|
||||
|
||||
- name: Setup Go ${{ matrix.go }}
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
|
|
|
|||
4
.github/workflows/unit-test.yml
vendored
4
.github/workflows/unit-test.yml
vendored
|
|
@ -58,7 +58,7 @@ env:
|
|||
## Path
|
||||
YAO_EXTENSION_ROOT: ${{ github.WORKSPACE }}/../extension
|
||||
YAO_TEST_APPLICATION: ${{ github.WORKSPACE }}/../app
|
||||
YAO_SUI_TEST_APPLICATION: ${{ github.WORKSPACE }}/../yao-yao-startup-webapp
|
||||
YAO_SUI_TEST_APPLICATION: ${{ github.WORKSPACE }}/../yao-startup-webapp
|
||||
YAO_TEST_BUILDER_APPLICATION: ${{ github.WORKSPACE }}/../page-builder-app
|
||||
|
||||
## Runtime
|
||||
|
|
@ -187,7 +187,7 @@ jobs:
|
|||
password: ${{ secrets.UNIT_PASS }}
|
||||
|
||||
- name: Setup Go ${{ matrix.go }}
|
||||
uses: actions/setup-go@v3
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: ${{ matrix.go }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue