mirror of
https://github.com/actions/setup-go.git
synced 2026-10-23 23:23:00 +03:00
Implementation of caching functionality for setup-go action (#228)
This commit is contained in:
1 parent
fcdc43634a
commit
b22fbbc292
72 files changed
+126791
-8387
No files matched your search
@@ -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']
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user