forked from openshift/sriov-network-device-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into sync-2023-06-27
- Loading branch information
Showing
383 changed files
with
36,474 additions
and
6,555 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 |
---|---|---|
|
@@ -5,7 +5,7 @@ jobs: | |
name: build | ||
strategy: | ||
matrix: | ||
go-version: [1.17.x, 1.18.x] | ||
go-version: [1.20.x] | ||
goarch: [amd64] | ||
os: [ubuntu-latest] | ||
runs-on: ${{ matrix.os }} | ||
|
@@ -32,7 +32,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
go-version: 1.20.x | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v3 | ||
|
@@ -41,7 +41,7 @@ jobs: | |
run: sudo apt-get install hwdata -y | ||
|
||
- name: Go test | ||
run: make test | ||
run: make test-race | ||
|
||
test-coverage: | ||
runs-on: ubuntu-latest | ||
|
@@ -51,7 +51,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
go-version: 1.20.x | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
|
@@ -74,13 +74,13 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
go-version: 1.20.x | ||
- uses: actions/checkout@v3 | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. | ||
version: v1.46.2 | ||
version: v1.52.2 | ||
|
||
shellcheck: | ||
name: Shellcheck | ||
|
@@ -104,10 +104,6 @@ jobs: | |
with: | ||
dockerfile: ./images/Dockerfile | ||
ignore: DL3018 # DL3018: GH issue 368 | ||
- uses: brpaz/[email protected] | ||
with: | ||
dockerfile: Dockerfile.rhel7 | ||
ignore: DL3018 DL3033 # DL3018/DL3033: GH issue 368 | ||
|
||
go-check: | ||
runs-on: ubuntu-latest | ||
|
@@ -117,7 +113,7 @@ jobs: | |
- name: Set up Go | ||
uses: actions/setup-go@v3 | ||
with: | ||
go-version: 1.18.x | ||
go-version: 1.20.x | ||
|
||
# if this fails, run go mod tidy | ||
- name: Check if module files are consistent with code | ||
|
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.