mirror of
https://github.com/actions/setup-go
synced 2024-11-14 09:32:40 +00:00
15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
type SupportedPackageManagers = {
|
|
[prop: string]: PackageManagerInfo;
|
|
};
|
|
|
|
export interface PackageManagerInfo {
|
|
dependencyFilePattern: string;
|
|
cacheFolderCommandList: string[];
|
|
}
|
|
|
|
export const supportedPackageManagers: SupportedPackageManagers = {
|
|
default: {
|
|
dependencyFilePattern: 'go.sum',
|
|
cacheFolderCommandList: ['go env GOMODCACHE', 'go env GOCACHE']
|
|
}
|
|
};
|