Skip to content

Commit

Permalink
refactor: Update Node.js setup and cache actions to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Jul 4, 2024
1 parent f2a9598 commit 812ed24
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: "macos-12"
steps:
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18

- name: Install pnpm
run: npm install -g pnpm

- name: Setup Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 }}

Expand Down

0 comments on commit 812ed24

Please sign in to comment.