File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ jobs:
24
24
run : |
25
25
export LATEST_VERSION=$(curl -s https://api.github.com/repos/golangci/golangci-lint/releases/latest | jq -r .tag_name | sed 's/v//')
26
26
echo "LATEST_VERSION=${LATEST_VERSION}" >> $GITHUB_ENV
27
- echo "latest_version =${LATEST_VERSION}" >> $GITHUB_OUTPUT
27
+ echo "LATEST_VERSION =${LATEST_VERSION}" >> $GITHUB_OUTPUT
28
28
- name : Check current version in Makefile
29
29
id : check_version
30
30
run : |
31
- export CURRENT_VERSION=$(grep 'GOLANGCI_LINT_VERSION' hack/tools/Makefile | cut -d '=' -f2 | tr -d ' ')
31
+ export CURRENT_VERSION=$(grep 'GOLANGCI_LINT_VERSION ?= ' hack/tools/Makefile | cut -d '=' -f2 | tr -d ' ')
32
32
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
33
- echo "current_version =${CURRENT_VERSION}" >> $GITHUB_OUTPUT
33
+ echo "CURRENT_VERSION =${CURRENT_VERSION}" >> $GITHUB_OUTPUT
34
34
- name : Update Makefile if needed
35
35
if : ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
36
36
run : |
You can’t perform that action at this time.
0 commit comments