pull/184/head
Simon Let 3 years ago
parent c64079874f
commit 7fcf851dea
  1. 5
      .github/workflows/go.yaml

@ -19,8 +19,11 @@ jobs:
- name: which - name: which
run: which grep run: which grep
- name: version
run: grep --version
- name: grep - name: grep
run: grep -E 'go \d\.' go.mod run: grep '^go ' go.mod
- name: Get Go version - name: Get Go version
run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV run: echo "GO_VERSION=$(grep 'go \d\.' go.mod | cut -d ' ' -f 2)" >> $GITHUB_ENV && cat $GITHUB_ENV

Loading…
Cancel
Save