From ec4fa3af1a0f33dc072322696b7c46b63992d481 Mon Sep 17 00:00:00 2001 From: JustAnotherID Date: Wed, 18 Oct 2023 10:22:05 -0500 Subject: [PATCH] =?UTF-8?q?ci:=20test=5Fand=5Flint=20=E5=BE=AE=E8=B0=83=20?= =?UTF-8?q?(#352)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_and_lint.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test_and_lint.yml b/.github/workflows/test_and_lint.yml index ece2e5c4..4c4ea8d4 100644 --- a/.github/workflows/test_and_lint.yml +++ b/.github/workflows/test_and_lint.yml @@ -13,16 +13,13 @@ name: Test & Lint jobs: test: runs-on: ubuntu-latest - strategy: - matrix: - go-version: [1.18] steps: + - name: Code + uses: actions/checkout@v3 - name: Install Go uses: actions/setup-go@v4 with: - go-version: ${{ matrix.go-version }} - - name: Code - uses: actions/checkout@v3 + go-version: stable - run: go get - run: go generate ./... - run: go test -v -race ./... @@ -30,12 +27,12 @@ jobs: lint: runs-on: ubuntu-latest steps: + - name: Code + uses: actions/checkout@v3 - name: Install Go uses: actions/setup-go@v4 with: - go-version: 1.18 - - name: Code - uses: actions/checkout@v3 + go-version: stable - run: go get - run: go generate ./... - name: Go vet