Merge pull request #651 from trheyi/main
refactor: Update Go setup action to version 5
This commit is contained in:
commit
10e647b805
2 changed files with 0 additions and 36 deletions
18
.github/workflows/pr-test.yml
vendored
18
.github/workflows/pr-test.yml
vendored
|
|
@ -200,24 +200,6 @@ jobs:
|
||||||
uses: actions/setup-go@v5
|
uses: actions/setup-go@v5
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
|
|
||||||
- name: Setup Cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
go mod download
|
|
||||||
cd ../kun && go mod download
|
|
||||||
cd ../xun && go mod download
|
|
||||||
cd ../gou && go mod download
|
|
||||||
cd ../v8go && go mod download
|
|
||||||
|
|
||||||
- name: Start MongoDB
|
- name: Start MongoDB
|
||||||
uses: supercharge/mongodb-github-action@1.8.0
|
uses: supercharge/mongodb-github-action@1.8.0
|
||||||
|
|
|
||||||
18
.github/workflows/unit-test.yml
vendored
18
.github/workflows/unit-test.yml
vendored
|
|
@ -152,24 +152,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
go-version: ${{ matrix.go }}
|
go-version: ${{ matrix.go }}
|
||||||
|
|
||||||
- name: Setup Cache
|
|
||||||
uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
path: |
|
|
||||||
~/.cache/go-build
|
|
||||||
~/go/pkg/mod
|
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-go-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: |
|
|
||||||
go mod download
|
|
||||||
cd ../kun && go mod download
|
|
||||||
cd ../xun && go mod download
|
|
||||||
cd ../gou && go mod download
|
|
||||||
cd ../v8go && go mod download
|
|
||||||
|
|
||||||
- name: Start Redis
|
- name: Start Redis
|
||||||
uses: supercharge/redis-github-action@1.4.0
|
uses: supercharge/redis-github-action@1.4.0
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue