Skip to content

Commit ab92ded

Browse files
committed
Add actions
1 parent 1e9e6b6 commit ab92ded

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
on: [push, pull_request]
2+
name: Build
3+
jobs:
4+
build:
5+
strategy:
6+
matrix:
7+
go-version: [1.21.x]
8+
os: [ubuntu-latest]
9+
runs-on: ${{ matrix.os }}
10+
steps:
11+
- name: Install Go
12+
uses: actions/setup-go@v4
13+
with:
14+
go-version: ${{ matrix.go-version }}
15+
- name: Checkout code
16+
uses: actions/checkout@v4
17+
- name: Build
18+
run: go build

0 commit comments

Comments
 (0)