From 9596c1fb710d711e86b5ba2ca413db51cbf4434d Mon Sep 17 00:00:00 2001 From: Piyushh Bhutoria Date: Sat, 11 May 2024 11:28:57 +0530 Subject: [PATCH] Update Go version to 1.22.3 --- .github/workflows/enforce-go-mod-tidy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/enforce-go-mod-tidy.yml b/.github/workflows/enforce-go-mod-tidy.yml index fab2ff1a..5643c047 100644 --- a/.github/workflows/enforce-go-mod-tidy.yml +++ b/.github/workflows/enforce-go-mod-tidy.yml @@ -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='test@example.com' 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 \ No newline at end of file + run: git status | grep -q 'nothing to commit, working directory clean' && exit 0 || exit 1