From 2dfee2c346bd9452b92fd9ed1c17b25a7620004b Mon Sep 17 00:00:00 2001 From: mehdihadeli Date: Thu, 6 Jul 2023 20:09:10 +0330 Subject: [PATCH] ci: :green_heart: fix ci --- .github/workflows/go.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 02a74f7..7191a67 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -5,24 +5,24 @@ name: Go on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] jobs: - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v3 - - name: Set up Go - uses: actions/setup-go@v3 - with: - go-version: '1.20' + # https://github.com/actions/setup-go/issues/326 + - name: Set up Go + uses: actions/setup-go@v3 + with: + go-version: 1.20.x - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./...