From 2083d63258a3f8ac7cef81a8d41aec529060c0cc Mon Sep 17 00:00:00 2001 From: Arda Serdar Pektezol <1669855+pektezol@users.noreply.github.com> Date: Tue, 12 Sep 2023 21:02:36 +0300 Subject: update CI workflow for go 1.21.0 --- .github/workflows/CI.yml | 12 ++++++------ 1 file 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: jobs: build-windows: name: Windows Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Go environment - uses: actions/setup-go@v3.3.0 + uses: actions/setup-go@v4 with: - go-version: 1.18 + go-version: '1.21.0' architecture: amd64 - name: Build run: env GOOS=windows GOARCH=amd64 go build . build-linux: name: Linux Build - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - name: Setup Go environment - uses: actions/setup-go@v3.3.0 + uses: actions/setup-go@v4 with: - go-version: 1.18 + go-version: '1.21.0' architecture: amd64 - name: Build run: env GOOS=linux GOARCH=amd64 go build . -- cgit v1.2.3