mirror of
https://code.forgejo.org/actions/setup-go.git
synced 2024-12-25 22:42:22 -05:00
16 lines
379 B
TypeScript
16 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']
|
||
|
}
|
||
|
};
|