Explorar o código

ci: use .go-version file for actions/setup-go

Signed-off-by: Austin Vazquez <[email protected]>
Austin Vazquez hai 2 semanas
pai
achega
359d2f076e
Modificáronse 3 ficheiros con 4 adicións e 3 borrados
  1. 2 2
      .github/workflows/ci.yml
  2. 1 1
      .github/workflows/merge.yml
  3. 1 0
      .go-version

+ 2 - 2
.github/workflows/ci.yml

@@ -201,7 +201,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v6
         with:
-          go-version-file: 'go.mod'
+          go-version-file: '.go-version'
           check-latest: true
           cache: true
 
@@ -266,7 +266,7 @@ jobs:
       - name: Set up Go
         uses: actions/setup-go@v6
         with:
-          go-version-file: 'go.mod'
+          go-version-file: '.go-version'
           check-latest: true
       - name: Download unit test coverage
         uses: actions/download-artifact@v4

+ 1 - 1
.github/workflows/merge.yml

@@ -35,7 +35,7 @@ jobs:
 
       - uses: actions/setup-go@v6
         with:
-          go-version-file: go.mod
+          go-version-file: '.go-version'
           cache: true
           check-latest: true
 

+ 1 - 0
.go-version

@@ -0,0 +1 @@
+1.24.11