mirror of
				https://github.com/actions/setup-go.git
				synced 2025-10-31 07:30:31 +00:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
			v6
			...
			dependabot
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | f562c34c07 | ||
|   | 4f4e8ddad6 | ||
|   | fe7e4d1e4f | ||
|   | 8fda8c0fce | ||
|   | 38fcca804c | ||
|   | 9129211aa5 | ||
|   | 5ca846005c | ||
| ![dependabot[bot]](/assets/img/avatar_default.png)  | e778cb72d5 | 
							
								
								
									
										29
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										29
									
								
								README.md
									
									
									
									
									
								
							| @@ -8,6 +8,14 @@ This action sets up a go environment for use in actions by: | |||||||
| - Optionally downloading and caching a version of Go by version and adding to `PATH`. | - Optionally downloading and caching a version of Go by version and adding to `PATH`. | ||||||
| - Registering problem matchers for error output. | - Registering problem matchers for error output. | ||||||
|  |  | ||||||
|  | # Breaking changes in V6 | ||||||
|  |  | ||||||
|  | - Improve toolchain handling to ensure more reliable and consistent toolchain selection and management. | ||||||
|  | - Upgraded the action from node20 to node24. | ||||||
|  |   > Make sure your runner is on version v2.327.1 or later to ensure compatibility with this release. [See Release Notes](https://github.com/actions/runner/releases/tag/v2.327.1) | ||||||
|  |  | ||||||
|  | For more details,  see the full release notes on the [releases page](https://github.com/actions/setup-go/releases/tag/v6.0.0) | ||||||
|  |  | ||||||
| # V5 | # V5 | ||||||
|  |  | ||||||
| The V5 edition of the action offers: | The V5 edition of the action offers: | ||||||
| @@ -16,27 +24,6 @@ The V5 edition of the action offers: | |||||||
|  |  | ||||||
| See full release notes on the [releases page](https://github.com/actions/setup-go/releases). | See full release notes on the [releases page](https://github.com/actions/setup-go/releases). | ||||||
|  |  | ||||||
| # V4 |  | ||||||
|  |  | ||||||
| The V4 edition of the action offers: |  | ||||||
|  |  | ||||||
|  - Enabled caching by default |  | ||||||
|  |  | ||||||
| The action will try to enable caching unless the `cache` input is explicitly set to false. |  | ||||||
|  |  | ||||||
| Please see "[Caching dependency files and build outputs](https://github.com/actions/setup-go#caching-dependency-files-and-build-outputs)" for more information. |  | ||||||
|  |  | ||||||
| # V3 |  | ||||||
|  |  | ||||||
| The V3 edition of the action offers: |  | ||||||
|  |  | ||||||
| - Adds `GOBIN` to the `PATH` |  | ||||||
| - Proxy support |  | ||||||
| - Check latest version |  | ||||||
| - Caching packages dependencies |  | ||||||
| - stable and oldstable aliases |  | ||||||
| - Bug Fixes (including issues around version matching and semver) |  | ||||||
|  |  | ||||||
| The action will first check the local cache for a version match. If a version is not found locally, it will pull it from | The action will first check the local cache for a version match. If a version is not found locally, it will pull it from | ||||||
| the `main` branch of the [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) | the `main` branch of the [go-versions](https://github.com/actions/go-versions/blob/main/versions-manifest.json) | ||||||
| repository. On miss or failure, it will fall back to downloading directly | repository. On miss or failure, it will fall back to downloading directly | ||||||
|   | |||||||
							
								
								
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							| @@ -26,7 +26,7 @@ | |||||||
|         "@typescript-eslint/parser": "^8.35.1", |         "@typescript-eslint/parser": "^8.35.1", | ||||||
|         "@vercel/ncc": "^0.38.1", |         "@vercel/ncc": "^0.38.1", | ||||||
|         "eslint": "^8.57.0", |         "eslint": "^8.57.0", | ||||||
|         "eslint-config-prettier": "^10.0.1", |         "eslint-config-prettier": "^10.1.8", | ||||||
|         "eslint-plugin-jest": "^29.0.1", |         "eslint-plugin-jest": "^29.0.1", | ||||||
|         "eslint-plugin-node": "^11.1.0", |         "eslint-plugin-node": "^11.1.0", | ||||||
|         "jest": "^29.7.0", |         "jest": "^29.7.0", | ||||||
| @@ -2984,12 +2984,16 @@ | |||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     "node_modules/eslint-config-prettier": { |     "node_modules/eslint-config-prettier": { | ||||||
|       "version": "10.0.1", |       "version": "10.1.8", | ||||||
|       "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.0.1.tgz", |       "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-10.1.8.tgz", | ||||||
|       "integrity": "sha512-lZBts941cyJyeaooiKxAtzoPHTN+GbQTJFAIdQbRhA4/8whaAraEh47Whw/ZFfrjNSnlAxqfm9i0XVAEkULjCw==", |       "integrity": "sha512-82GZUjRS0p/jganf6q1rEO25VSoHH0hKPCTrgillPjdI/3bgBhAE1QzHrHTizjpRvy6pGAvKjDJtk2pF9NDq8w==", | ||||||
|       "dev": true, |       "dev": true, | ||||||
|  |       "license": "MIT", | ||||||
|       "bin": { |       "bin": { | ||||||
|         "eslint-config-prettier": "build/bin/cli.js" |         "eslint-config-prettier": "bin/cli.js" | ||||||
|  |       }, | ||||||
|  |       "funding": { | ||||||
|  |         "url": "https://opencollective.com/eslint-config-prettier" | ||||||
|       }, |       }, | ||||||
|       "peerDependencies": { |       "peerDependencies": { | ||||||
|         "eslint": ">=7.0.0" |         "eslint": ">=7.0.0" | ||||||
|   | |||||||
| @@ -45,7 +45,7 @@ | |||||||
|     "@typescript-eslint/parser": "^8.35.1", |     "@typescript-eslint/parser": "^8.35.1", | ||||||
|     "@vercel/ncc": "^0.38.1", |     "@vercel/ncc": "^0.38.1", | ||||||
|     "eslint": "^8.57.0", |     "eslint": "^8.57.0", | ||||||
|     "eslint-config-prettier": "^10.0.1", |     "eslint-config-prettier": "^10.1.8", | ||||||
|     "eslint-plugin-jest": "^29.0.1", |     "eslint-plugin-jest": "^29.0.1", | ||||||
|     "eslint-plugin-node": "^11.1.0", |     "eslint-plugin-node": "^11.1.0", | ||||||
|     "jest": "^29.7.0", |     "jest": "^29.7.0", | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user