Skip to content

Commit 8523250

Browse files
committed
feat: add github actions cleanup
1 parent 7d1d33e commit 8523250

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scripts/cleanup-github-actions.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ const pluginPath = path.resolve('./src/index.ts');
66
// Uninstall resources that have Codify resource definitions
77
await PluginTester.uninstall(pluginPath, [
88
{ type: 'docker' },
9+
{ type: 'aws-cli'}
910
]);
1011

11-
await testSpawn('apt-get autoremove -y ruby rpm python3 rustc golang', { requiresRoot: true })
12+
await testSpawn('apt-get autoremove -y ruby* rpm python*', { requiresRoot: true });
13+
await testSpawn('rustup self uninstall -y');
14+
15+
await testSpawn('rm -rf /usr/bin/go', { requiresRoot: true })

0 commit comments

Comments
 (0)