From 43195bf92e7571f8f185d7ac6b3e2de997ea0749 Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Mon, 16 Sep 2024 18:47:37 +0800 Subject: [PATCH] update test workflow --- .github/workflows/test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a5ae19f..d4e05e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,20 +1,20 @@ name: Test on: - pull_request: push: + branches: [ "**" ] jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Set up Go - uses: actions/setup-go@v3 + uses: actions/setup-go@v4 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: Build run: go build -v ./...