Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .github/workflows/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
path: go/src/github.com/${{ github.repository }}
Expand All @@ -41,14 +41,14 @@ jobs:
env:
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.21.x
go-version-file: 'go.mod'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
path: go/src/github.com/${{ github.repository }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integrate-cluster-cmd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
- 'test_tikv_cdc'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go
- name: Build build_integration_test
run: |
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
- name: Upload component log
if: ${{ failure() }}
# if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
overwrite: true
name: component_logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integrate-cluster-scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ jobs:
- 'test_scale_tiproxy'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go

- name: Build build_integration_test
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Upload component log
if: ${{ failure() }}
# if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
overwrite: true
name: cluster_logs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integrate-dm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- '--native-ssh --do-cases test_upgrade'
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}

Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Upload component log
if: ${{ failure() }}
# if: always()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
overwrite: true
name: dm_logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integrate-playground-ng.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ jobs:
timeout-minutes: 10
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go

- name: Build build_tiup_playground_test
Expand All @@ -66,7 +66,7 @@ jobs:

- name: Upload component log
if: ${{ failure() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
overwrite: true
name: playground_logs
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/integrate-playground.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ jobs:
- "test_playground"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go

- name: Build build_tiup_playground_test
Expand All @@ -71,7 +71,7 @@ jobs:

- name: Upload component log
if: ${{ failure() }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v6
with:
overwrite: true
name: playground_logs
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/integrate-tiup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ jobs:
- "test_tiup"
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go


Expand Down Expand Up @@ -80,13 +80,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Set up Go 1.24
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.24.x
go-version-file: 'go.mod'
id: go

- name: make unit-test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha }}
path: go/src/github.com/${{ github.repository }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release-tiup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ jobs:
env:
working-directory: ${{ github.workspace }}/go/src/github.com/${{ github.repository }}
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: 1.21.x
go-version-file: 'go.mod'
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v3
uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.git-ref || github.event.pull_request.head.sha }}
path: go/src/github.com/${{ github.repository }}
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
needs: release
steps:
- name: Check out brew code
uses: actions/checkout@v3
uses: actions/checkout@v6
continue-on-error: true
if: github.event_name == 'release'
with:
Expand Down
13 changes: 4 additions & 9 deletions .github/workflows/reprotest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,14 @@ jobs:
# The type of runner that the job will run on
runs-on: ubuntu-22.04

strategy:
matrix:
go:
- 1.21.x

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v6

- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go }}
go-version-file: 'go.mod'

- name: Install reprotest and prepare
id: prepare_env
Expand Down
Loading