forked from containerd/cgroups
-
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.
Use google.golang.org/protobuf instead of github.com/gogo/protobuf
We'd like to migrate off from gogo/protobuf. The package is looking for new ownership since 2020. See containerd/containerd#6564 for the detail. Signed-off-by: Kazuyoshi Kato <[email protected]>
- Loading branch information
Showing
12 changed files
with
2,852 additions
and
9,636 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 |
---|---|---|
|
@@ -112,3 +112,42 @@ jobs: | |
sudo -E PATH=$PATH GOPATH=$GOPATH \ | ||
$(command -v go) test -v -race -coverprofile=coverage.txt -covermode=atomic ./... | ||
working-directory: src/github.com/containerd/cgroups | ||
|
||
proto: | ||
name: Compare auto-generated Go files | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- name: Install Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.17.x' | ||
|
||
- name: Set env | ||
shell: bash | ||
run: | | ||
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV | ||
echo "${{ github.workspace }}/bin" >> $GITHUB_PATH | ||
- name: Checkout cgroups | ||
uses: actions/checkout@v2 | ||
with: | ||
path: src/github.com/containerd/cgroups | ||
|
||
- name: Install protoc | ||
run: | | ||
curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v21.5/protoc-21.5-linux-x86_64.zip | ||
# /usr/local is not writable from GitHub Actions' user | ||
sudo unzip protoc-21.5-linux-x86_64.zip -d /usr/local | ||
- name: Install proto-related tools for Go | ||
run: | | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install github.com/containerd/[email protected] | ||
go install github.com/containerd/protobuild/cmd/[email protected] | ||
- name: Compare auto-generated Go files | ||
run: | | ||
make proto | ||
git diff --exit-code | ||
working-directory: src/github.com/containerd/cgroups |
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 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 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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@@ | ||
@@ | ||
-KernelTcp | ||
+KernelTCP | ||
|
||
@@ | ||
@@ | ||
-Cpu | ||
+CPU | ||
|
||
@@ | ||
@@ | ||
-PerCpu | ||
+PerCPU | ||
|
||
@@ | ||
@@ | ||
-Rss | ||
+RSS | ||
|
||
@@ | ||
@@ | ||
-TotalRss | ||
+TotalRSS | ||
|
||
@@ | ||
@@ | ||
-RssHuge | ||
+RSSHuge | ||
|
||
@@ | ||
@@ | ||
-TotalRssHuge | ||
+TotalRSSHuge |
Oops, something went wrong.