diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/CI.yml | 12 |
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: | |||
| 14 | jobs: | 14 | jobs: |
| 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 . |