Compare commits

..

29 commits

Author SHA1 Message Date
6d789993b6
wip: Update rebuilt script files 2024-02-09 08:20:13 -06:00
9a19a73647
chore: Remove unused parameters from debug configuration 2024-02-09 08:20:12 -06:00
d8993744fc
chore: Remove GITHUB_TOKEN from actrc 2024-02-09 08:20:11 -06:00
852c1c2d64
chore: Remove GitHub token from README 2024-02-09 08:20:10 -06:00
cd4c4de0d4
chore: Update CHANGELOG 2024-02-09 08:20:09 -06:00
661b592858
wip: Add build to repo for debugging purposes
This should be removed before merging. The only reason I'm doing this is
because Github actions provides no other way for me to test this action at
the scale that we need. If you are reading this past the v2.0 release,
then something went terribly wrong.
2024-02-09 08:20:08 -06:00
300e3aba80
chore!: Remove unused parameters from action.yml 2024-02-09 08:20:07 -06:00
1ee4e6e816
test: Add test for install_nextflow 2024-02-09 08:20:06 -06:00
3578fbc391
chore: Add ability to deal with temporary files generated by tests
The "install_nextflow" tests generate a new install of Nextflow every time
 they are run based on the "RUNNER_TEMP" environment variable. Deal with
this by adding our RUNNER_TEMP variable to the ava config and making sure
none of these installs get committed.
2024-02-09 08:20:05 -06:00
be0874ac4c
test: Add tests for Nextflow release version resolver 2024-02-09 08:20:04 -06:00
a30c5df9d2
feat!: Remove url resolver for NextflowRelease 2024-02-09 08:20:03 -06:00
c61ec5549a
feat!: Remove Octkit conversion function for NextflowRelease 2024-02-09 08:20:02 -06:00
ea3e21d0fa
test!: Remove testing utils for getting GitHub token
This is no longer needed under the new API.
2024-02-09 08:20:01 -06:00
f42a08db49
chore!: Remove octokit throttling dependency 2024-02-09 08:20:00 -06:00
c808397a09
feat!: Remove Octokit API 2024-02-09 08:19:59 -06:00
8013af975a
refactor!: Replace Octokit API with nf-core API in main script 2024-02-09 08:19:58 -06:00
a8257a33e4
refactor!: Rename NextflowRelease.allBinaryURL to NextflowRelease.downloadUrlAll
Another API consistency update.
2024-02-09 08:19:57 -06:00
e50352a811
refactor!: Rename NextflowRelease.binaryURL to NextflowRelease.downloadURL
Another API consistency change.
2024-02-09 08:19:56 -06:00
a9c11a2b4e
refactor!: Rename NextflowRelease.versionNumber to NextflowRelease.version
This is to preserve consistency with the new API
2024-02-09 08:19:55 -06:00
f144ed4bc0
feat!: Remove the "latest-*" version resolvers from get_nextflow_release
Not needed due to the new API
2024-02-09 08:19:55 -06:00
8c124f715d
fix: Fix the version number debug log 2024-02-09 08:19:54 -06:00
9231e026c0
test!: Remove version resolving tests for "latest*" versions
This functionality is now offloaded to the API.
2024-02-09 08:19:53 -06:00
120fbe0a2a
feat: Make get_nextflow_release compatible with arrays
Although it seems like we're moving backwards, the new API only supports a
single data dump. I still like the iterative nature rather, so tack on
array support.
2024-02-09 08:19:52 -06:00
27c92fbd84
feat: Add nf-core website API wrapper
Basically, a stand-in for OctoKit, but smarter.
2024-02-09 08:19:51 -06:00
e9ea6b06f5
feat: Add optional published_at field to NextflowRelease type
Per @ewels request, the API on nf-co.re includes a "published_at" field
with the date of each release. For future compatibility without breaking
anything current, add an optional field that can handle this additional
information.
2024-02-09 08:19:50 -06:00
5fc57fbcc8 chore: Update CHANGELOG 2024-02-09 08:18:27 -06:00
Matthias Hörtenhuber
a877f66559 Update node version 2024-02-09 08:18:27 -06:00
bdd63150d7
chore: Bump version in CHANGELOG to v1.5.2 2024-02-07 09:28:31 -06:00
7810249267
chore: Bump version is package.json to v1.5.2 2024-02-07 09:26:28 -06:00
4 changed files with 11 additions and 4 deletions

View file

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- Upgraded GitHub Actions node version to v20
## [1.5.2] - 2024-02-07
### Added
- CI workflow steps for better compatibility with <https://github.com/nektos/act>
@ -85,7 +91,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GitHub Actions workflow to test Nextflow installation and downstream usage
- Documentation and license files
[unreleased]: https://github.com/nf-core/setup-nextflow/compare/v1.5.1...HEAD
[unreleased]: https://github.com/nf-core/setup-nextflow/compare/v1.5.2...HEAD
[1.5.2]: https://github.com/nf-core/setup-nextflow/compare/v1.5.1...v1.5.2
[1.5.1]: https://github.com/nf-core/setup-nextflow/compare/v1.5.0...v1.5.1
[1.5.0]: https://github.com/nf-core/setup-nextflow/compare/v1.4.0...v1.5.0
[1.4.0]: https://github.com/nf-core/setup-nextflow/compare/v1.3.0...v1.4.0

View file

@ -11,7 +11,7 @@ inputs:
required: false
default: false
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "shuffle"

2
package-lock.json generated
View file

@ -1,6 +1,6 @@
{
"name": "install-nextflow-action",
"version": "1.5.1",
"version": "1.5.2",
"lockfileVersion": 2,
"requires": true,
"packages": {

View file

@ -1,6 +1,6 @@
{
"name": "install-nextflow-action",
"version": "1.5.1",
"version": "1.5.2",
"description": "An action to install Nextflow into a GitHub Actions workflow and make it available for subsequent steps.",
"main": "lib/src/main.js",
"scripts": {