This commit is contained in:
Alexis Couvreur 2026-03-01 12:36:18 -05:00
parent a993e13330
commit c213f030bb
2 changed files with 0 additions and 3 deletions

View file

@ -34,7 +34,6 @@ describe('getRequestedVersion', () => {
expect(v).toBe('v1.2.3');
});
it('parses .tool-versions and returns v-prefixed version', () => {
const toolVersionsPath = path.join(tmpDir, '.tool-versions');
fs.writeFileSync(toolVersionsPath, 'goreleaser 1.2.3\n');
@ -97,5 +96,4 @@ describe('getRequestedVersion', () => {
expect(() => getRequestedVersion(inputs)).toThrow();
});
});

View file

@ -1,4 +1,3 @@
import * as core from '@actions/core';
import * as fs from 'fs';
import path from 'path';
import {Inputs} from './context';