aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/CI.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/CI.yml')
-rw-r--r--.github/workflows/CI.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
new file mode 100644
index 0000000..04d24fa
--- /dev/null
+++ b/.github/workflows/CI.yml
@@ -0,0 +1,27 @@
1name: CI
2
3on:
4 push:
5 branches: [ "main" ]
6 paths-ignore:
7 - '.github/*'
8 - '.gitignore'
9 - '**.md'
10 - 'LICENSE'
11 pull_request:
12 branches: [ "main" ]
13
14jobs:
15 build:
16 runs-on: ubuntu-latest
17 steps:
18 - uses: actions/checkout@v3
19
20 - name: Setup Go environment
21 uses: actions/setup-go@v3.3.0
22 with:
23 go-version: 1.18
24 architecture: amd64
25
26 - name: Build
27 run: env GOOS=windows GOARCH=amd64 go build .