Skip to content

Commit

Permalink
Update actions/checkout workflow version
Browse files Browse the repository at this point in the history
  • Loading branch information
William Astorga committed Feb 10, 2022
1 parent d0c48c0 commit fd22752
Showing 1 changed file with 15 additions and 16 deletions.
31 changes: 15 additions & 16 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./...

0 comments on commit fd22752

Please sign in to comment.