Skip to content

Commit

Permalink
Update to Go 1.19
Browse files Browse the repository at this point in the history
With this upgrade our codebase adopts the stricter handling of `os/exec` command lookup in it that it doesn't allow shelling out to a command in the current directory.
  • Loading branch information
mislav committed Dec 12, 2022
1 parent f57249f commit ba4d504
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"image": "mcr.microsoft.com/devcontainers/go:1.18",
"image": "mcr.microsoft.com/devcontainers/go:1.19",
"features": {
"ghcr.io/devcontainers/features/sshd:1": {}
},
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19

- name: Check out code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go 1.18
- name: Set up Go 1.19
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.19
- name: Generate changelog
id: changelog
run: |
Expand Down
2 changes: 1 addition & 1 deletion docs/source.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Installation from source

1. Verify that you have Go 1.18+ installed
1. Verify that you have Go 1.19+ installed

```sh
$ go version
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/cli/cli/v2

go 1.18
go 1.19

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

0 comments on commit ba4d504

Please sign in to comment.