-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go dependency to 1.22; update yaml dep to avoid CVE
With the CVEs present in go < 1.22.1, it makes sense to update now
- Loading branch information
Showing
3 changed files
with
10 additions
and
9 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 |
---|---|---|
|
@@ -10,7 +10,7 @@ jobs: | |
deps: | ||
strategy: | ||
matrix: | ||
version: ['1.18.0', '1.18.1'] | ||
version: ['1.22.0'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -27,7 +27,7 @@ jobs: | |
needs: ["deps"] | ||
strategy: | ||
matrix: | ||
version: ['1.18.0', '1.18.1'] | ||
version: ['1.22.0'] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -37,7 +37,7 @@ jobs: | |
go-version: ${{ matrix.version }} | ||
- name: Main branch coverage | ||
uses: actions/cache@v3 | ||
if: matrix.version == '1.18.1' | ||
if: matrix.version == '1.22.0' | ||
with: | ||
path: | | ||
main.lcov | ||
|
@@ -49,13 +49,13 @@ jobs: | |
- name: Bench | ||
run: go test -v -run ^$ -bench . ./... | ||
- uses: jandelgado/[email protected] | ||
if: matrix.version == '1.18.1' | ||
if: matrix.version == '1.22.0' | ||
- name: Store main branch lcov | ||
if: github.ref == 'refs/heads/main' && matrix.version == '1.18.1' | ||
if: github.ref == 'refs/heads/main' && matrix.version == '1.22.0' | ||
run: cp coverage.lcov main.lcov | ||
- name: Code Coverage Report | ||
uses: osmind-development-org/[email protected] | ||
if: matrix.version == '1.18.1' && github.event_name == 'pull_request' | ||
if: matrix.version == '1.22.0' && github.event_name == 'pull_request' | ||
with: | ||
lcov-file: ./coverage.lcov | ||
lcov-base: ./main.lcov | ||
|
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,11 +1,11 @@ | ||
module github.com/Shopify/kitt | ||
|
||
go 1.18 | ||
go 1.22 | ||
|
||
require github.com/stretchr/testify v1.7.1 | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.0 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // 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