From 0ca329036414eabb40c57b48868ae811f867098a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Fri, 21 Oct 2022 11:54:44 +0800 Subject: [PATCH] Add go1.18 debug build --- .github/workflows/debug.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/debug.yml b/.github/workflows/debug.yml index 5d075d12..558a814f 100644 --- a/.github/workflows/debug.yml +++ b/.github/workflows/debug.yml @@ -55,6 +55,27 @@ jobs: - name: Run Test run: | go test -v ./... + build_go118: + name: Debug build (Go 1.18) + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + - name: Setup Go + uses: actions/setup-go@v2 + with: + go-version: 1.18.7 + - name: Cache go module + uses: actions/cache@v2 + with: + path: | + ~/go/pkg/mod + key: go118-${{ hashFiles('**/go.sum') }} + - name: Run Test + run: | + go test -v ./... cross: strategy: matrix: