1
0
Fork 0
mirror of https://github.com/docker/setup-buildx-action.git synced 2025-05-13 18:09:30 +02:00
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2020-08-18 17:40:31 +02:00
commit 04eaa7c789
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
21 changed files with 12365 additions and 0 deletions

17
__tests__/github.test.ts Normal file
View file

@ -0,0 +1,17 @@
import * as github from '../src/github';
describe('github', () => {
it('returns latest buildx GitHub release', async () => {
const release = await github.getRelease('latest');
console.log(release);
expect(release).not.toBeNull();
expect(release?.tag_name).not.toEqual('');
});
it('returns v0.2.2 buildx GitHub release', async () => {
const release = await github.getRelease('v0.2.2');
console.log(release);
expect(release).not.toBeNull();
expect(release?.tag_name).toEqual('v0.2.2');
});
});