diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 3b5ec60..d7a2c06 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -12,11 +12,12 @@ jobs: with: fetch-depth: 0 + - name: Go + run: ls && ls * + - name: Get Go version run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV - - name: Go - run: echo ${{ env.GO_VERSION }} - name: Set up Go uses: actions/setup-go@v3 with: