aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-12 21:02:36 +0300
committerArda Serdar Pektezol <1669855+pektezol@users.noreply.github.com>2023-09-16 21:39:42 +0300
commit2083d63258a3f8ac7cef81a8d41aec529060c0cc (patch)
tree826c4de1b9beab212c1ca0c39fca9e1a831bf06a /.github/workflows
parentanother rewrite, v1.0.0 (diff)
downloadsdp.go-2083d63258a3f8ac7cef81a8d41aec529060c0cc.tar.gz
sdp.go-2083d63258a3f8ac7cef81a8d41aec529060c0cc.tar.bz2
sdp.go-2083d63258a3f8ac7cef81a8d41aec529060c0cc.zip
update CI workflow for go 1.21.0
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/CI.yml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml
index 47d3d1c..58d5e91 100644
--- a/.github/workflows/CI.yml
+++ b/.github/workflows/CI.yml
@@ -14,27 +14,27 @@ on:
14jobs: 14jobs:
15 build-windows: 15 build-windows:
16 name: Windows Build 16 name: Windows Build
17 runs-on: ubuntu-20.04 17 runs-on: ubuntu-latest
18 steps: 18 steps:
19 - uses: actions/checkout@v3 19 - uses: actions/checkout@v3
20 20
21 - name: Setup Go environment 21 - name: Setup Go environment
22 uses: actions/setup-go@v3.3.0 22 uses: actions/setup-go@v4
23 with: 23 with:
24 go-version: 1.18 24 go-version: '1.21.0'
25 architecture: amd64 25 architecture: amd64
26 - name: Build 26 - name: Build
27 run: env GOOS=windows GOARCH=amd64 go build . 27 run: env GOOS=windows GOARCH=amd64 go build .
28 build-linux: 28 build-linux:
29 name: Linux Build 29 name: Linux Build
30 runs-on: ubuntu-20.04 30 runs-on: ubuntu-latest
31 steps: 31 steps:
32 - uses: actions/checkout@v3 32 - uses: actions/checkout@v3
33 33
34 - name: Setup Go environment 34 - name: Setup Go environment
35 uses: actions/setup-go@v3.3.0 35 uses: actions/setup-go@v4
36 with: 36 with:
37 go-version: 1.18 37 go-version: '1.21.0'
38 architecture: amd64 38 architecture: amd64
39 - name: Build 39 - name: Build
40 run: env GOOS=linux GOARCH=amd64 go build . 40 run: env GOOS=linux GOARCH=amd64 go build .