Skip to content

Commit

Permalink
add go_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marketen committed Mar 28, 2024
1 parent a47446a commit ea931d8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/go_test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Go Build and Test

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

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22.0'

- name: Check out code
uses: actions/checkout@v3

- name: Get dependencies
run: go mod download

- name: Build
run: go build -v ./... # this will build all packages of this directory and subdirectories

0 comments on commit ea931d8

Please sign in to comment.