mirror of
https://gitea.com/actions/setup-go.git
synced 2024-11-22 17:49:33 +01:00
21 lines
573 B
TypeScript
21 lines
573 B
TypeScript
import io = require('@actions/io');
|
|
import fs = require('fs');
|
|
import os = require('os');
|
|
import path = require('path');
|
|
|
|
const toolDir = path.join(__dirname, 'runner', 'tools');
|
|
const tempDir = path.join(__dirname, 'runner', 'temp');
|
|
|
|
process.env['RUNNER_TOOLSDIRECTORY'] = toolDir;
|
|
process.env['RUNNER_TEMPDIRECTORY'] = tempDir;
|
|
import * as installer from '../src/installer';
|
|
|
|
describe('installer tests', () => {
|
|
beforeAll(() => {});
|
|
beforeAll(async () => {
|
|
await io.rmRF(toolDir);
|
|
await io.rmRF(tempDir);
|
|
});
|
|
|
|
it('TODO - Add tests', async () => {});
|
|
});
|