From 13c0f320ff230d5f44554401e2cfca3cf213b447 Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Mon, 10 Apr 2023 23:03:35 +0530 Subject: [PATCH 1/2] ci: fix protoc-gen-go path for go install The CI job that installed protoc-gen-go was using a deprecated package path. It has been updated with the path to the active package path. Signed-off-by: Prajwal S N --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ef31556c2..85cc52299 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,7 +4,7 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: @@ -33,7 +33,7 @@ jobs: - name: Install protoc-gen-go run: | - sudo env "GOBIN=/usr/bin" go install github.com/golang/protobuf/protoc-gen-go@latest + sudo env "GOBIN=/usr/bin" go install google.golang.org/protobuf/cmd/protoc-gen-go@latest - name: Test go-criu run: sudo -E make test From 51b180995326eb3982c94966fe9095fcd84cb9a8 Mon Sep 17 00:00:00 2001 From: Prajwal S N Date: Mon, 10 Apr 2023 23:03:54 +0530 Subject: [PATCH 2/2] chore(ci): fix capitalisation in job names Signed-off-by: Prajwal S N --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 85cc52299..567fffb9c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -13,20 +13,20 @@ jobs: steps: - - name: checkout + - name: Checkout uses: actions/checkout@v3 with: # needed for codecov fetch-depth: 0 - - name: build criu ${{ matrix.criu_branch }} + - name: Build CRIU ${{ matrix.criu_branch }} run: | sudo apt-get install -y libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler python3-protobuf libnl-3-dev libnet-dev libcap-dev curl unzip git clone --depth=1 --single-branch -b ${{ matrix.criu_branch }} https://github.com/checkpoint-restore/criu.git make -j"$(nproc)" -C criu sudo make -C criu install-criu PREFIX=/usr - - name: install go ${{ matrix.go-version }} + - name: Install Go ${{ matrix.go-version }} uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} @@ -41,7 +41,7 @@ jobs: - name: Test magicgen script run: sudo -E make -C scripts test - - name: Test crit + - name: Test CRIT run: | if [ "${{ matrix.criu_branch }}" = "criu-dev" ]; then # We need to use the protobuf definitions from the criu-dev