Skip to content

Commit

Permalink
chore: workflow github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno committed Feb 16, 2024
1 parent 80c2b8f commit a125c05
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,26 @@ 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@v4
with:
go-version: "1.21.7"

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21.7'
- name: Dependencies
run: go mod tidy

- name: Build
run: go build -v cmd/main.go
- name: Build
run: go build -v cmd/main.go

- name: Test
run: go test -v ./...
- name: Test
run: go test -v ./...

0 comments on commit a125c05

Please sign in to comment.