From 7bc65b83276b6e86ba4bf09e9dc9b7888ec5720d Mon Sep 17 00:00:00 2001 From: "y.k" Date: Wed, 28 Jun 2023 15:33:46 +0800 Subject: [PATCH] update github workflows --- .github/FUNDING.yml | 3 --- .github/workflows/go.yml | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index 83b4531..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -github: guoyk93 -patreon: guoyk -custom: https://guoyk.xyz/donation diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4d990cf..6e90abb 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,16 +10,19 @@ jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + go: [ '1.17', '1.18', '1.19', '1.20' ] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: 1.18 + - name: Set up Go ${{ matrix.go }} + uses: actions/setup-go@v3 + with: + go-version: ${{ matrix.go }} - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./...