refactor: Update Go setup action to version 5

This commit is contained in:
Max 2024-07-04 13:29:18 +08:00
parent f44ef832e7
commit e266ab438f
2 changed files with 0 additions and 36 deletions

View file

@ -200,24 +200,6 @@ jobs:
uses: actions/setup-go@v5
with:
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
uses: supercharge/mongodb-github-action@1.8.0

View file

@ -152,24 +152,6 @@ jobs:
with:
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
uses: supercharge/redis-github-action@1.4.0
with: