Implementation of caching functionality for setup-go action (#228)

This commit is contained in:
IvanZosimov authored and GitHub committed 2022-05-25 12:07:29 +02:00
1 parent fcdc43634a
commit b22fbbc292
72 files changed
+126791 -8387

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
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']
}
};