mirror of
https://github.com/MillironX/setup-nextflow.git
synced 2024-12-22 04:48:18 +00:00
make linter happy
This commit is contained in:
parent
aedbf9a630
commit
a082e105b0
6 changed files with 7 additions and 9 deletions
|
@ -4,7 +4,7 @@ import retry from "async-retry"
|
|||
import * as fs from "fs"
|
||||
import semver from "semver"
|
||||
|
||||
import { NextflowRelease } from "./NextflowRelease"
|
||||
import { NextflowRelease } from "./nextflow-release"
|
||||
|
||||
function tag_filter(version: string): (r: NextflowRelease) => Boolean {
|
||||
// Setup tag-based filtering
|
||||
|
|
|
@ -9,8 +9,8 @@ import {
|
|||
get_nextflow_release,
|
||||
install_nextflow
|
||||
} from "./functions"
|
||||
import { NextflowRelease } from "./NextflowRelease"
|
||||
import { pull_releases, setup_octokit } from "./OctokitWrapper"
|
||||
import { NextflowRelease } from "./nextflow-release"
|
||||
import { pull_releases, setup_octokit } from "./octokit-wrapper"
|
||||
|
||||
async function run(): Promise<void> {
|
||||
// CAPSULE_LOG leads to a bunch of boilerplate being output to the logs: turn
|
||||
|
|
|
@ -2,7 +2,7 @@ import * as core from "@actions/core"
|
|||
import * as github from "@actions/github"
|
||||
import { GitHub } from "@actions/github/lib/utils"
|
||||
|
||||
import { nextflow_release, NextflowRelease } from "./NextflowRelease"
|
||||
import { nextflow_release, NextflowRelease } from "./nextflow-release"
|
||||
|
||||
const NEXTFLOW_REPO = { owner: "nextflow-io", repo: "nextflow" }
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
import test from "ava" // eslint-disable-line import/no-unresolved
|
||||
|
||||
import * as functions from "../src/functions"
|
||||
import { NextflowRelease } from "../src/NextflowRelease"
|
||||
import { NextflowRelease } from "../src/nextflow-release"
|
||||
|
||||
// The Nextflow releases we are going to use for testing follow a regular
|
||||
// pattern: create a mock function to bootstrap some test data without repeating
|
||||
|
@ -109,5 +109,3 @@ test(
|
|||
"v23.04.3",
|
||||
edge_is_newer
|
||||
)
|
||||
|
||||
test.todo("install_nextflow")
|
||||
|
|
|
@ -2,8 +2,8 @@ import * as github from "@actions/github"
|
|||
import { GitHub } from "@actions/github/lib/utils"
|
||||
import anyTest, { TestFn } from "ava" // eslint-disable-line import/no-unresolved
|
||||
|
||||
import { nextflow_bin_url } from "../src/NextflowRelease"
|
||||
import { all_nf_release_data } from "../src/OctokitWrapper"
|
||||
import { nextflow_bin_url } from "../src/nextflow-release"
|
||||
import { all_nf_release_data } from "../src/octokit-wrapper"
|
||||
import { getToken } from "./utils"
|
||||
|
||||
const test = anyTest as TestFn<{
|
||||
|
|
Loading…
Reference in a new issue