Skip to content

Commit

Permalink
update ci go version to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
tsenart committed Jul 27, 2024
1 parent 9bcc0e0 commit 06f8579
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: CI
on:
push:
tags:
- 'v*.*.*'
- "v*.*.*"
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
version:
description: 'Release version'
description: "Release version"
required: true

jobs:
Expand All @@ -24,7 +24,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: "1.22"

- name: Format Check
run: |
Expand All @@ -46,28 +46,28 @@ jobs:
strategy:
matrix:
target:
- 'windows/amd64'
- 'windows/386'
- 'windows/arm64'
- 'linux/amd64'
- 'linux/386'
- 'linux/arm64'
- 'linux/arm'
- 'darwin/amd64'
- 'darwin/arm64'
- 'freebsd/386'
- 'freebsd/amd64'
- 'freebsd/arm'
- 'openbsd/amd64'
- 'openbsd/arm64'
- "windows/amd64"
- "windows/386"
- "windows/arm64"
- "linux/amd64"
- "linux/386"
- "linux/arm64"
- "linux/arm"
- "darwin/amd64"
- "darwin/arm64"
- "freebsd/386"
- "freebsd/amd64"
- "freebsd/arm"
- "openbsd/amd64"
- "openbsd/arm64"
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: "1.22"

- name: Set up GOOS and GOARCH
id: setup_env
Expand Down

0 comments on commit 06f8579

Please sign in to comment.