From e7b1b4920290a35e3159cafe27fb71a331535459 Mon Sep 17 00:00:00 2001 From: wawlian Date: Tue, 18 Apr 2023 14:19:50 +0800 Subject: [PATCH] update actions to v3 --- .github/workflows/ci.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f8ed9cd..102c357 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -11,14 +11,14 @@ on: env: # Common versions GO_VERSION: '1.17' - GOLANGCI_VERSION: 'v1.48.0' + GOLANGCI_VERSION: 'v1.18.0' jobs: check-license: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Run Check License run: hack/make-rules/check_license.sh @@ -28,7 +28,7 @@ jobs: - name: Checkout uses: actions/setup-go@v3 with: - submodules: true + submodules: - name: Setup Go uses: actions/checkout@v3 with: @@ -54,17 +54,17 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: submodules: true - name: Fetch History run: git fetch --prune --unshallow - name: Setup Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ env.GO_VERSION }} - name: Cache Go Dependencies - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} @@ -74,7 +74,7 @@ jobs: - name: Run test run: make test - name: Upload test coverage - uses: codecov/codecov-action@v2 + uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} files: cover.out