Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to go 1.22 #154

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/codeql-analysis.yml
Expand Up @@ -18,6 +18,11 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Expand Up @@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "1.21"

- name: Checkout repository
uses: actions/checkout@v4
go-version-file: 'go.mod'

- name: Check dependencies
run: |
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Expand Up @@ -8,18 +8,17 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
go: ["1.21"]

runs-on: ${{ matrix.os }}

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}

- name: Checkout repository
uses: actions/checkout@v4
go-version-file: 'go.mod'

- name: Run tests
run: go test -v ./...
2 changes: 1 addition & 1 deletion go.mod
@@ -1,6 +1,6 @@
module github.com/cli/go-gh/v2

go 1.21
go 1.22

require (
github.com/AlecAivazis/survey/v2 v2.3.7
Expand Down