mirror of
				https://github.com/actions/setup-go.git
				synced 2025-11-04 06:25:55 -05:00 
			
		
		
		
	Update default runtime to node16
Node 12 has an end of life on April 30, 2022. This PR updates the default runtime to [node16](https://github.blog/changelog/2021-12-10-github-actions-github-hosted-runners-now-run-node-js-16-by-default/), rather then node12. This is supported on all Actions Runners v2.285.0 or later.
This commit is contained in:
		@@ -11,5 +11,5 @@ inputs:
 | 
				
			|||||||
    description: Used to pull node distributions from go-versions.  Since there's a default, this is typically not supplied by the user.
 | 
					    description: Used to pull node distributions from go-versions.  Since there's a default, this is typically not supplied by the user.
 | 
				
			||||||
    default: ${{ github.token }}
 | 
					    default: ${{ github.token }}
 | 
				
			||||||
runs:
 | 
					runs:
 | 
				
			||||||
  using: 'node12'
 | 
					  using: 'node16'
 | 
				
			||||||
  main: 'dist/index.js'
 | 
					  main: 'dist/index.js'
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user