From a4bf2f3f9761fa0c3e0738f183332b99a7afba9f Mon Sep 17 00:00:00 2001 From: Matthieu MOREL Date: Thu, 9 May 2024 00:10:40 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 114af97..2b36e46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,11 +10,11 @@ jobs: name: Build and test runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v2 - with: - go-version: '^1.19' + - uses: actions/checkout@v4 - - uses: actions/checkout@v2 + - uses: actions/setup-go@v5 + with: + go-version-file: 'go.mod' - name: Cache protobuf build id: protocache @@ -32,9 +32,8 @@ jobs: - run: make install && go mod tidy && go mod verify - run: git --no-pager diff --exit-code - - uses: golangci/golangci-lint-action@v4 + - uses: golangci/golangci-lint-action@v5 with: - skip-cache: true args: --verbose - run: make genall