Skip to content

Commit

Permalink
Update Go version to 1.22.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Piyushhbhutoria committed May 11, 2024
1 parent 9c7d392 commit 9596c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/enforce-go-mod-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
- name: Create a new git repository
run: git init && git add --all && git -c user.name='test' -c user.email='[email protected]' commit -m 'init for pr action'
- name: Install latest go
run: wget https://go.dev/dl/go1.21.3.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go*.tar.gz && export PATH=$PATH:/usr/local/go/bin && rm go1.21.3.linux-amd64.tar.gz
run: wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go*.tar.gz && export PATH=$PATH:/usr/local/go/bin && rm go1.22.3.linux-amd64.tar.gz
- name: Go mod tidy for root project
run: go mod tidy
- name: Go mod tidy for example apps
working-directory: ./examples
run: go mod tidy
- name: Check for file changes by go mod tidy
run: git status | grep -q 'nothing to commit, working directory clean' && exit 0 || exit 1
run: git status | grep -q 'nothing to commit, working directory clean' && exit 0 || exit 1

0 comments on commit 9596c1f

Please sign in to comment.