Skip to content

Commit 7393e26

Browse files
committed
fix
1 parent 48b533a commit 7393e26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ jobs:
2222
- name: Get latest golangci-lint version
2323
id: get_version
2424
run: |
25-
LATEST_VERSION=$(curl -s https://api.github.com/repos/golangci/golangci-lint/releases/latest | jq -r .tag_name | sed 's/v//')
25+
export 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: |
31-
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 ' ')
3232
echo "CURRENT_VERSION=${CURRENT_VERSION}" >> $GITHUB_ENV
33-
echo "current_version=${CURRENT_VERSION}" >> "$GITHUB_OUTPUT"
33+
echo "current_version=${CURRENT_VERSION}" >> $GITHUB_OUTPUT
3434
- name: Update Makefile if needed
3535
if: ${{ steps.check_version.outputs.current_version != steps.get_version.outputs.latest_version }}
3636
run: |

0 commit comments

Comments
 (0)