mirror of
https://github.com/actions/setup-go.git
synced 2026-07-23 16:52:30 +00:00
0778a10ce4
Basic validation / Basic validation (push) Failing after 0s
Check dist/ / Check dist/ (push) Failing after 0s
CodeQL analysis / CodeQL analysis (push) Failing after 0s
Licensed / Licensed (push) Failing after 0s
Validate 'setup-go' / Setup local-cache version (1.22.8, ubuntu-latest) (push) Successful in 27s
Validate 'setup-go' / aliases-arch (x64, ubuntu-latest, oldstable) (push) Successful in 28s
Validate 'setup-go' / check-latest (1.20, ubuntu-latest) (push) Successful in 30s
Validate 'setup-go' / aliases-arch (x64, ubuntu-latest, stable) (push) Successful in 45s
Validate 'setup-go' / oldstable (ubuntu-latest) (push) Successful in 45s
Validate 'setup-go' / stable (ubuntu-latest) (push) Successful in 47s
Validate 'setup-go' / Setup local-cache version (1.21.13, ubuntu-latest) (push) Successful in 49s
Validate 'setup-go' / aliases-arch (x32, ubuntu-latest, oldstable) (push) Successful in 51s
Validate 'setup-go' / Setup local-cache version (1.23.2, ubuntu-latest) (push) Successful in 51s
Validate 'setup-go' / aliases-arch (x32, ubuntu-latest, stable) (push) Successful in 54s
Validate 'setup-go' / check-latest (1.21, ubuntu-latest) (push) Successful in 53s
Validate 'setup-go' / check-latest (1.22, ubuntu-latest) (push) Successful in 31s
Validate 'setup-go' / check-latest (1.23, ubuntu-latest) (push) Successful in 31s
Validate 'setup-go' / architecture (x64, 1.20.14, ubuntu-latest) (push) Successful in 36s
Validate 'setup-go' / go-version-file (ubuntu-latest) (push) Successful in 30s
Validate Microsoft build of Go / Microsoft build of Go 1.25 on ubuntu-latest (push) Failing after 1m4s
Validate Microsoft build of Go / Microsoft build of Go arch x64 on ubuntu-latest (push) Failing after 1m4s
Validate 'setup-go' / go-version-file-with-gowork (ubuntu-latest) (push) Successful in 28s
Validate Microsoft build of Go / Microsoft build of Go via env var on ubuntu-latest (push) Successful in 1m15s
Validate 'setup-go' / go-version-file-with-go-version (ubuntu-latest) (push) Successful in 29s
Validate Microsoft build of Go / Microsoft build of Go with caching on ubuntu-latest (push) Successful in 1m26s
Validate 'setup-go' / setup-versions-from-dist (1.11.12, ubuntu-latest) (push) Successful in 35s
Validate 'setup-go' / setup-versions-from-manifest (1.23.2, ubuntu-latest) (push) Successful in 36s
Validate 'setup-go' / architecture (x64, 1.21, ubuntu-latest) (push) Successful in 36s
Validate 'setup-go' / architecture (x64, 1.23, ubuntu-latest) (push) Successful in 33s
Validate 'setup-go' / go-version-file-with-tool-versions (ubuntu-latest) (push) Successful in 31s
Validate 'setup-go' / setup-versions-from-manifest (1.20.14, ubuntu-latest) (push) Successful in 31s
Validate 'setup-go' / setup-versions-from-manifest (1.21.10, ubuntu-latest) (push) Successful in 34s
Validate 'setup-go' / setup-versions-from-manifest (1.22.8, ubuntu-latest) (push) Successful in 35s
Validate Microsoft build of Go / Microsoft build of Go 1.24 on ubuntu-latest (push) Successful in 1m36s
Validate 'setup-go' / architecture (x64, 1.22, ubuntu-latest) (push) Successful in 36s
Validate 'setup-go' / stable (windows-latest) (push) Has been cancelled
Validate 'setup-go' / oldstable (macos-latest) (push) Has been cancelled
Validate 'setup-go' / oldstable (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / oldstable (windows-latest) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x32, windows-latest, oldstable) (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go 1.24 on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go arch x64 on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go 1.24 on windows-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go 1.25 on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go 1.25 on windows-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go via env var on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go via env var on windows-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go arch arm64 on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go with caching on macos-latest (push) Has been cancelled
Validate Microsoft build of Go / Microsoft build of Go with caching on windows-latest (push) Has been cancelled
Validate 'setup-go' / stable (macos-latest) (push) Has been cancelled
Validate 'setup-go' / stable (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x32, windows-latest, stable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, macos-latest, oldstable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, macos-latest, stable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, macos-latest-large, oldstable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, macos-latest-large, stable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, windows-latest, oldstable) (push) Has been cancelled
Validate 'setup-go' / aliases-arch (x64, windows-latest, stable) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.20.14, windows-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.21.13, macos-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.21.13, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.21.13, windows-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.22.8, macos-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.22.8, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.22.8, windows-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.23.2, macos-latest) (push) Has been cancelled
Validate 'setup-go' / Setup local-cache version (1.23.2, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.20, macos-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.20, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.20, windows-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.21, macos-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.21, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.21, windows-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.22, macos-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.22, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.22, windows-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.23, macos-latest) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.23, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / check-latest (1.23, windows-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file (macos-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-tool-versions (macos-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-tool-versions (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-tool-versions (windows-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.20.14, macos-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.20.14, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.21.10, windows-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.23.2, macos-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (arm64, 1.23, macos-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-dist (1.11.12, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-dist (1.11.12, windows-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (arm64, 1.22, macos-latest) (push) Has been cancelled
Validate Windows installation / Validate if hostedtoolcache works as expected (false, 1.20.1) (push) Has been cancelled
Validate Windows installation / Validate if symlink is not created for default go (false) (push) Has been cancelled
Validate Windows installation / Validate if symlink is not created for default go (true) (push) Has been cancelled
Validate 'setup-go' / go-version-file (windows-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-gowork (macos-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-gowork (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-gowork (windows-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-go-version (macos-latest) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-go-version (macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / go-version-file-with-go-version (windows-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.20.14, windows-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.21.10, macos-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.21.10, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.22.8, macos-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.22.8, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.22.8, windows-latest) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.23.2, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / setup-versions-from-manifest (1.23.2, windows-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (arm64, 1.20.14, macos-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (arm64, 1.21, macos-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.20.14, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.20.14, windows-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.21, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.21, windows-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.22, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.22, windows-latest) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.23, macos-latest-large) (push) Has been cancelled
Validate 'setup-go' / architecture (x64, 1.23, windows-latest) (push) Has been cancelled
Validate Windows installation / Validate if symlink is created (false, 1.20.1) (push) Has been cancelled
Validate Windows installation / Validate if symlink is created (true, 1.20.1) (push) Has been cancelled
Validate Windows installation / Find default go version (push) Has been cancelled
* Migrate to ESM and upgrade dependencies * Remove unused tsconfig.eslint.json * bump version to 7.0.0 in package.json and package-lock.json * Add ESM migration note to README for V7 * Remove unnecessary devDependencies: ts-node, @types/jest * npm audit fix * Update README with ESM migration details Clarified migration details to ESM for action compatibility. * Downgrade @types/node to ^24, clean up tsconfig and README.
75 lines
2.0 KiB
JavaScript
75 lines
2.0 KiB
JavaScript
// This is a reusable configuration file copied from https://github.com/actions/reusable-workflows/tree/main/reusable-configurations. Please don't make changes to this file as it's the subject of an automatic update.
|
|
import js from '@eslint/js';
|
|
import tsParser from '@typescript-eslint/parser';
|
|
import tsPlugin from '@typescript-eslint/eslint-plugin';
|
|
import jest from 'eslint-plugin-jest';
|
|
import n from 'eslint-plugin-n';
|
|
import prettier from 'eslint-config-prettier';
|
|
import globals from 'globals';
|
|
|
|
export default [
|
|
{
|
|
ignores: ['**/*', '!src/**', '!__tests__/**']
|
|
},
|
|
js.configs.recommended,
|
|
{
|
|
files: ['**/*.ts'],
|
|
languageOptions: {
|
|
parser: tsParser,
|
|
ecmaVersion: 2022,
|
|
sourceType: 'module',
|
|
globals: {
|
|
...globals.node,
|
|
...globals.es2015
|
|
}
|
|
},
|
|
plugins: {
|
|
'@typescript-eslint': tsPlugin,
|
|
n
|
|
},
|
|
rules: {
|
|
...tsPlugin.configs.recommended.rules,
|
|
'@typescript-eslint/no-require-imports': 'error',
|
|
'@typescript-eslint/no-non-null-assertion': 'off',
|
|
'@typescript-eslint/no-explicit-any': 'off',
|
|
'@typescript-eslint/no-empty-function': 'off',
|
|
'@typescript-eslint/ban-ts-comment': [
|
|
'error',
|
|
{
|
|
'ts-ignore': 'allow-with-description'
|
|
}
|
|
],
|
|
'no-console': 'error',
|
|
yoda: 'error',
|
|
'prefer-const': [
|
|
'error',
|
|
{
|
|
destructuring: 'all'
|
|
}
|
|
],
|
|
'no-control-regex': 'off',
|
|
'no-constant-condition': ['error', {checkLoops: false}],
|
|
'no-undef': 'off',
|
|
'no-useless-assignment': 'off',
|
|
'n/no-extraneous-import': 'error'
|
|
}
|
|
},
|
|
{
|
|
files: ['**/*{test,spec}.ts'],
|
|
plugins: {jest},
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.jest
|
|
}
|
|
},
|
|
rules: {
|
|
...jest.configs['flat/recommended'].rules,
|
|
'@typescript-eslint/no-unused-vars': 'off',
|
|
'jest/no-standalone-expect': 'off',
|
|
'jest/no-conditional-expect': 'off',
|
|
'no-console': 'off'
|
|
}
|
|
},
|
|
prettier
|
|
];
|