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