mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Bump setup-go to v6 (#35660)
This commit is contained in:
		
							
								
								
									
										2
									
								
								.github/workflows/cron-licenses.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/cron-licenses.yml
									
									
									
									
										vendored
									
									
								
							| @@ -11,7 +11,7 @@ jobs: | |||||||
|     if: github.repository == 'go-gitea/gitea' |     if: github.repository == 'go-gitea/gitea' | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								.github/workflows/pull-compliance.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.github/workflows/pull-compliance.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,7 +17,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -72,7 +72,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -84,7 +84,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -101,7 +101,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -116,7 +116,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -145,7 +145,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -190,7 +190,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										10
									
								
								.github/workflows/pull-db-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/pull-db-tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -39,7 +39,7 @@ jobs: | |||||||
|           - "9000:9000" |           - "9000:9000" | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -67,7 +67,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -125,7 +125,7 @@ jobs: | |||||||
|           - 10000:10000 |           - 10000:10000 | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -178,7 +178,7 @@ jobs: | |||||||
|           - "993:993" |           - "993:993" | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -218,7 +218,7 @@ jobs: | |||||||
|           - 10000:10000 |           - 10000:10000 | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/pull-e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/pull-e2e-tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -19,7 +19,7 @@ jobs: | |||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v5 |       - uses: actions/checkout@v5 | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										6
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/release-nightly.yml
									
									
									
									
										vendored
									
									
								
							| @@ -16,7 +16,7 @@ jobs: | |||||||
|       # fetch all commits instead of only the last as some branches are long lived and could have many between versions |       # fetch all commits instead of only the last as some branches are long lived and could have many between versions | ||||||
|       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 |       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 | ||||||
|       - run: git fetch --unshallow --quiet --tags --force |       - run: git fetch --unshallow --quiet --tags --force | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -65,7 +65,7 @@ jobs: | |||||||
|       # fetch all commits instead of only the last as some branches are long lived and could have many between versions |       # fetch all commits instead of only the last as some branches are long lived and could have many between versions | ||||||
|       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 |       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 | ||||||
|       - run: git fetch --unshallow --quiet --tags --force |       - run: git fetch --unshallow --quiet --tags --force | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
| @@ -107,7 +107,7 @@ jobs: | |||||||
|       # fetch all commits instead of only the last as some branches are long lived and could have many between versions |       # fetch all commits instead of only the last as some branches are long lived and could have many between versions | ||||||
|       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 |       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 | ||||||
|       - run: git fetch --unshallow --quiet --tags --force |       - run: git fetch --unshallow --quiet --tags --force | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/release-tag-rc.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release-tag-rc.yml
									
									
									
									
										vendored
									
									
								
							| @@ -17,7 +17,7 @@ jobs: | |||||||
|       # fetch all commits instead of only the last as some branches are long lived and could have many between versions |       # fetch all commits instead of only the last as some branches are long lived and could have many between versions | ||||||
|       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 |       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 | ||||||
|       - run: git fetch --unshallow --quiet --tags --force |       - run: git fetch --unshallow --quiet --tags --force | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								.github/workflows/release-tag-version.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/release-tag-version.yml
									
									
									
									
										vendored
									
									
								
							| @@ -21,7 +21,7 @@ jobs: | |||||||
|       # fetch all commits instead of only the last as some branches are long lived and could have many between versions |       # fetch all commits instead of only the last as some branches are long lived and could have many between versions | ||||||
|       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 |       # fetch all tags to ensure that "git describe" reports expected Gitea version, eg. v1.21.0-dev-1-g1234567 | ||||||
|       - run: git fetch --unshallow --quiet --tags --force |       - run: git fetch --unshallow --quiet --tags --force | ||||||
|       - uses: actions/setup-go@v5 |       - uses: actions/setup-go@v6 | ||||||
|         with: |         with: | ||||||
|           go-version-file: go.mod |           go-version-file: go.mod | ||||||
|           check-latest: true |           check-latest: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user