From fd22752ebd152f539cf4f8527422cdf5b4235ea5 Mon Sep 17 00:00:00 2001 From: William Astorga Date: Thu, 10 Feb 2022 09:35:34 -0600 Subject: [PATCH] Update actions/checkout workflow version --- .github/workflows/go.yml | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d7efe09..15ad27a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -2,30 +2,29 @@ name: Go on: push: - branches: [ main ] + branches: [main] pull_request: - branches: [ main ] + branches: [main] jobs: - build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2.4.0 - - name: Set up Go - uses: actions/setup-go@v2 - with: - go-version: 1.17 + - name: Set up Go + uses: actions/setup-go@v2 + with: + go-version: 1.17 - - name: FmtCheck - run: scripts/gofmtcheck.sh + - name: FmtCheck + run: scripts/gofmtcheck.sh - - name: ErrCheck - run: scripts/errcheck.sh + - name: ErrCheck + run: scripts/errcheck.sh - - name: Build - run: go build -v ./... + - name: Build + run: go build -v ./... - - name: Test - run: go test -v ./... + - name: Test + run: go test -v ./...