Skip to content

Commit

Permalink
chore: update Go build
Browse files Browse the repository at this point in the history
  • Loading branch information
tructn committed May 23, 2024
1 parent 74254f2 commit 9b7cd96
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go

on:
push:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- "frontend/**"
pull_request:
branches: [ "main" ]
branches: ["main"]
paths-ignore:
- "frontend/**"

jobs:

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

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22"

- 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 9b7cd96

Please sign in to comment.