diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 132d706a..3333a94b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -15,10 +15,10 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: false # don't save & restore build caches because golangci-lint action does it internally - name: Get dependencies @@ -36,10 +36,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Go 1.21 + - name: Set up Go 1.22 uses: actions/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index 9fd345ec..d5694801 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -67,7 +67,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5.0.2 with: - go-version: 1.21.x + go-version: 1.22.x check-latest: true cache: true - name: Run go list diff --git a/go.mod b/go.mod index 7764c5e0..c9a80aaf 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module nodemon -go 1.21 +go 1.22 require ( codnect.io/chrono v1.1.3