From afb0c0db371e26636c14a4ed68acf5eed6a7eb26 Mon Sep 17 00:00:00 2001 From: database64128 Date: Thu, 1 Feb 2024 14:37:50 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=92=EF=B8=8F=20gh-actions:=20add=20workfl?= =?UTF-8?q?ow=20to=20test=20with=20gotip?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test_gotip.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test_gotip.yml diff --git a/.github/workflows/test_gotip.yml b/.github/workflows/test_gotip.yml new file mode 100644 index 0000000..b8e249d --- /dev/null +++ b/.github/workflows/test_gotip.yml @@ -0,0 +1,27 @@ +name: Test with gotip + +on: + workflow_dispatch: + +jobs: + test: + name: Test + strategy: + matrix: + os: [ubuntu-latest, windows-latest, macos-latest] + fail-fast: false + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v4 + + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install gotip + run: go install golang.org/dl/gotip@latest + + - name: Test + run: gotip test -v