Skip to content

Commit 2a9f69e

Browse files
Merge pull request #9 from erikgb/add-simple-workflow
Add simplest workflow
2 parents 1d7a307 + be13024 commit 2a9f69e

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/build.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Go Build
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
16+
with:
17+
go-version-file: go.mod
18+
19+
- name: Build Go
20+
run: go build ./...

0 commit comments

Comments
 (0)