Skip to content
This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Commit cd21d94

Browse files
authored
Merge pull request #2 from sparebank1utvikling/actions-gobuild
Add go build for pull requests
2 parents f01637e + cb3415a commit cd21d94

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/go.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Go
2+
3+
on:
4+
pull_request: {}
5+
#branches: [ main ]
6+
7+
jobs:
8+
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
14+
- name: Set up Go
15+
uses: actions/setup-go@v2
16+
with:
17+
go-version: 1.17
18+
19+
- name: Test
20+
run: go test -v ./...
21+
22+
- name: Build
23+
run: go build -v ./...

0 commit comments

Comments
 (0)