Skip to content

Commit

Permalink
update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Skyenought committed Nov 17, 2023
1 parent 8e9ca81 commit 2b08af0
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
lint-and-ut:
strategy:
matrix:
version: ["1.18", "1.19", "1.20"]
version: ["1.18"]
runs-on: [self-hosted, X64]
steps:
- uses: actions/checkout@v3
Expand All @@ -48,8 +48,8 @@ jobs:
ut-windows:
strategy:
matrix:
version: ["1.18", "1.19", "1.20"]
runs-on: windows-latest
version: ["1.18"]
runs-on: windows-2019
steps:
- uses: actions/checkout@v3

Expand All @@ -59,7 +59,11 @@ jobs:
go-version: ${{ matrix.version }}

- name: Unit Test
run: go test -race -covermode=atomic ./...
uses: nick-fields/retry@v2
with:
max_attempts: 3
timeout_minutes: 15
command: go test -race -covermode=atomic ./...

hz-test-unix:
strategy:
Expand Down

0 comments on commit 2b08af0

Please sign in to comment.