From 92e0760997bdd6716ade2e2b7aff685b2baae532 Mon Sep 17 00:00:00 2001 From: yanyiwu Date: Thu, 18 Jul 2024 22:36:09 +0800 Subject: [PATCH] github/actions work on every branchs --- .github/workflows/go.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5e43eed..1371db6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -3,17 +3,20 @@ name: Go on: workflow_dispatch: push: - branches: [ master ] + # branches: [ master ] pull_request: - branches: [ master ] + # branches: [ master ] jobs: - build: + runs-on: ubuntu-latest + strategy: matrix: - go-version: [1.17, 1.18, 1.19, 1.20, 1.21] + go-version: [1.17] + # See supported Go release schedule at https://golang.org/doc/devel/release.html + # steps: - uses: actions/checkout@v2