From 01bfef043521797da12c710f8a5e57426c218dfb Mon Sep 17 00:00:00 2001 From: komuw Date: Fri, 1 Mar 2024 19:57:00 +0300 Subject: [PATCH] m --- .github/workflows/ci.yml | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c102c60..1e87bfd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: esac fi - run_tests: + check_go_compatibility: name: run_tests timeout-minutes: 7 strategy: @@ -71,6 +71,28 @@ jobs: go-version: [1.20.x, 1.21.x, 1.22.x] platform: [ubuntu-22.04] runs-on: ${{ matrix.platform }} + steps: + - name: Set up Go + uses: actions/setup-go@v4 + with: + go-version: ${{ matrix.go-version }} + + - name: Check out code into the Go module directory + uses: actions/checkout@v3 + + - name: tests and benchmarks + run: | + go test -count=1 -timeout 1m --exec=/bin/true ./... + + + run_tests: + name: run_tests + timeout-minutes: 7 + strategy: + matrix: + go-version: ['>=1.22.0'] + platform: [ubuntu-22.04] + runs-on: ${{ matrix.platform }} steps: - name: Set up Go uses: actions/setup-go@v4