From e6d3ac823b107b30cf243e4aad3a7cd20a82ef71 Mon Sep 17 00:00:00 2001 From: Flo Wirtz <6052785+flowirtz@users.noreply.github.com> Date: Tue, 30 Jul 2024 13:56:43 +0300 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Bump=20`actions/setup-go@v?= =?UTF-8?q?4`=20to=20`v5`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/format.yml | 18 ++++++++-------- .github/workflows/lint.yml | 40 ++++++++++++++++++------------------ .github/workflows/test.yml | 2 +- 3 files changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f4af14a22..e3ee0e1bd 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -3,7 +3,7 @@ name: Format on: pull_request: branches: - - main + - main permissions: # Grant the ability to checkout the repository @@ -17,13 +17,13 @@ jobs: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true steps: - - name: Check out code - uses: actions/checkout@v4 + - name: Check out code + uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version-file: go.mod + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod - - name: Format - run: make install-go-fmt-tools install-md-fmt-tools fmt && test $(git diff -p | wc -l) -eq 0 + - name: Format + run: make install-go-fmt-tools install-md-fmt-tools fmt && test $(git diff -p | wc -l) -eq 0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ce2c706ed..f6f9d1cbc 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,11 +3,11 @@ name: Lint on: pull_request_target: types: - - opened - - synchronize - - reopened + - opened + - synchronize + - reopened branches: - - main + - main permissions: # Grant the ability to checkout the repository @@ -23,24 +23,24 @@ jobs: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true steps: - - name: Check out code - uses: actions/checkout@v4 + - name: Check out code + uses: actions/checkout@v4 - - name: Setup Go - uses: actions/setup-go@v4 - with: - go-version-file: go.mod + - name: Setup Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod - - name: Setup node - uses: actions/setup-node@v4 + - name: Setup node + uses: actions/setup-node@v4 - - name: Setup reviewdog - run: go install github.com/reviewdog/reviewdog/cmd/reviewdog@latest + - name: Setup reviewdog + run: go install github.com/reviewdog/reviewdog/cmd/reviewdog@latest - - name: Install linters - run: make install-lint-tools + - name: Install linters + run: make install-lint-tools - - name: Lint - env: - REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - run: make lint + - name: Lint + env: + REVIEWDOG_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}" + run: make lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1043802ee..f997c1b83 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,7 +24,7 @@ jobs: uses: actions/checkout@v4 - name: Setup Go - uses: actions/setup-go@v4 + uses: actions/setup-go@v5 with: go-version-file: go.mod