aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/go-windows-amd64.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/go-windows-amd64.yml b/.github/workflows/go-windows-amd64.yml
new file mode 100644
index 0000000..1fcecfe
--- /dev/null
+++ b/.github/workflows/go-windows-amd64.yml
@@ -0,0 +1,23 @@
1name: Golang Windows amd64
2
3on:
4 push:
5 branches: [ "main" ]
6 pull_request:
7 branches: [ "main" ]
8
9jobs:
10
11 build:
12 runs-on: ubuntu-latest
13 steps:
14 - uses: actions/checkout@v3
15
16 - name: Setup Go environment
17 uses: actions/setup-go@v3.3.0
18 with:
19 go-version: 1.18
20 architecture: amd64
21
22 - name: Build
23 run: env GOOS=windows GOARCH=amd64 go build .