Skip to content

Commit 244d871

Browse files
committed
fix
1 parent 5106f32 commit 244d871

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/update-golangci-lint.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,13 @@ jobs:
2424
run: |
2525
LATEST_VERSION=$(curl -s https://api.github.com/repos/golangci/golangci-lint/releases/latest | jq -r .tag_name | sed 's/v//')
2626
echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV
27-
echo "latest_version=${LATEST_VERSION}" >> "$GITHUB_OUTPUT"
27+
echo "LATEST_VERSION=${LATEST_VERSION}" >> "$GITHUB_OUTPUT"
2828
- name: Check current version in Makefile
2929
id: check_version
3030
run: |
3131
CURRENT_VERSION=$(grep 'GOLANGCI_LINT_VERSION' hack/tools/Makefile | cut -d '=' -f2 | tr -d ' ')
32-
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
32+
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
33+
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
3334
- name: Update Makefile if needed
3435
if: ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
3536
run: |

0 commit comments

Comments
 (0)