-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use go 1.18, upgrade crypto/ssh dependency (#48)
* Upgrade crypto/ssh dependency * Use go 1.18 while at it * Unsafe signal usage
- Loading branch information
Showing
4 changed files
with
27 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name: Go | ||
|
||
on: [push, pull_request] | ||
on: [pull_request] | ||
|
||
jobs: | ||
|
||
|
@@ -11,30 +11,25 @@ jobs: | |
|
||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
go-version: 1.16 | ||
go-version: 1.18 | ||
|
||
- name: Go modules cache | ||
uses: actions/cache@v2 | ||
if: github.ref != 'refs/heads/main' | ||
with: | ||
path: ~/go/pkg/mod | ||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | ||
restore-keys: | | ||
${{ runner.os }}-go- | ||
- name: Run golangci-lint | ||
if: github.ref != 'refs/heads/main' | ||
uses: golangci/[email protected] | ||
uses: golangci/[email protected] | ||
with: | ||
version: v1.35.2 | ||
version: latest | ||
skip-go-installation: true | ||
|
||
- name: Build | ||
if: github.ref != 'refs/heads/main' | ||
run: go build -v ./... | ||
|
||
- name: Test | ||
if: github.ref != 'refs/heads/main' | ||
run: go test -v ./... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,35 @@ | ||
module github.com/k0sproject/rig | ||
|
||
go 1.16 | ||
go 1.18 | ||
|
||
require ( | ||
github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d | ||
github.com/alessio/shellescape v1.4.1 | ||
github.com/creasty/defaults v1.5.2 | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 | ||
github.com/masterzen/winrm v0.0.0-20211231115050-232efb40349e | ||
github.com/mitchellh/go-homedir v1.1.0 | ||
github.com/stretchr/testify v1.7.0 | ||
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 | ||
golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 | ||
) | ||
|
||
require ( | ||
github.com/Azure/go-ntlmssp v0.0.0-20211209120228-48547f28849e // indirect | ||
github.com/ChrisTrenkamp/goxpath v0.0.0-20210404020558-97928f7e12b6 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/gofrs/uuid v4.2.0+incompatible // indirect | ||
github.com/hashicorp/go-uuid v1.0.2 // indirect | ||
github.com/jcmturner/aescts/v2 v2.0.0 // indirect | ||
github.com/jcmturner/dnsutils/v2 v2.0.0 // indirect | ||
github.com/jcmturner/gofork v1.0.0 // indirect | ||
github.com/jcmturner/goidentity/v6 v6.0.1 // indirect | ||
github.com/jcmturner/gokrb5/v8 v8.4.2 // indirect | ||
github.com/jcmturner/rpc/v2 v2.0.3 // indirect | ||
github.com/masterzen/simplexml v0.0.0-20190410153822-31eea3082786 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd // indirect | ||
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect | ||
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 | ||
golang.org/x/text v0.3.7 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters