Skip to content

Commit

Permalink
style(go.yml): format workflow file for consistency
Browse files Browse the repository at this point in the history
feat(go.yml): upgrade actions/setup-go from v4 to v5 to use latest features
  • Loading branch information
yyoshiki41 committed May 5, 2024
1 parent 5bc430c commit dedd5d6
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,21 @@ name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v4
- name: Set up Go
uses: actions/setup-go@v5

- 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 dedd5d6

Please sign in to comment.