From 6f1ed77848813de516b7a57247d485a28ef015cd Mon Sep 17 00:00:00 2001 From: djeebus Date: Thu, 22 Feb 2024 15:52:44 -0500 Subject: [PATCH] go back to the github action this supports more use cases --- .github/workflows/on_pull_request_go.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/on_pull_request_go.yaml b/.github/workflows/on_pull_request_go.yaml index b3cfff43..380ffd83 100644 --- a/.github/workflows/on_pull_request_go.yaml +++ b/.github/workflows/on_pull_request_go.yaml @@ -14,13 +14,13 @@ jobs: steps: - uses: actions/checkout@v3 - - uses: jdx/mise-action@v2 + - uses: djeebus/parse-tool-versions@v2.1 - uses: earthly/actions-setup@v1 with: { version: "v${{ env.EARTHLY }}" } - - run: | - earthly \ - +ci-golang \ - --GOLANG_VERSION=$( mise current golang ) \ - --GOLANGCI_LINT_VERSION=$( mise current golangci-lint ) + - run: >- + earthly + +ci-golang + --GOLANG_VERSION=${{ env.GOLANG }} + --GOLANGCI_LINT_VERSION=${{ env.GOLANGCI_LINT }}