Compare commits

..

25 commits

Author SHA1 Message Date
bb811ccf98
wip: Update rebuilt script files 2024-02-03 18:53:12 -06:00
cb4ab7eb33
chore: Remove unused parameters from debug configuration 2024-02-03 18:53:11 -06:00
26f437e095
chore: Remove GITHUB_TOKEN from actrc 2024-02-03 18:53:10 -06:00
c8007d8926
chore: Remove GitHub token from README 2024-02-03 18:53:09 -06:00
65c19a91d4
chore: Update CHANGELOG 2024-02-03 18:53:08 -06:00
3267bfebb3
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-03 18:53:07 -06:00
ca6f80e650
chore!: Remove unused parameters from action.yml 2024-02-03 18:53:06 -06:00
f4b5948847
test: Add test for install_nextflow 2024-02-03 18:53:05 -06:00
6780729a18
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-03 18:53:04 -06:00
9dfa0f4329
test: Add tests for Nextflow release version resolver 2024-02-03 18:53:03 -06:00
6403017471
feat!: Remove url resolver for NextflowRelease 2024-02-03 18:53:02 -06:00
aef834d8bc
feat!: Remove Octkit conversion function for NextflowRelease 2024-02-03 18:53:01 -06:00
c8b05abe99
test!: Remove testing utils for getting GitHub token
This is no longer needed under the new API.
2024-02-03 18:53:00 -06:00
c44d750e6f
chore!: Remove octokit throttling dependency 2024-02-03 18:52:59 -06:00
b51df5d41b
feat!: Remove Octokit API 2024-02-03 18:52:58 -06:00
d72644926c
refactor!: Replace Octokit API with nf-core API in main script 2024-02-03 18:52:57 -06:00
0e483a63dd
refactor!: Rename NextflowRelease.allBinaryURL to NextflowRelease.downloadUrlAll
Another API consistency update.
2024-02-03 18:52:56 -06:00
085e9ce75c
refactor!: Rename NextflowRelease.binaryURL to NextflowRelease.downloadURL
Another API consistency change.
2024-02-03 18:52:55 -06:00
9e1210850f
refactor!: Rename NextflowRelease.versionNumber to NextflowRelease.version
This is to preserve consistency with the new API
2024-02-03 18:52:54 -06:00
8e25d74dc3
feat!: Remove the "latest-*" version resolvers from get_nextflow_release
Not needed due to the new API
2024-02-03 18:52:53 -06:00
f6aadba037
fix: Fix the version number debug log 2024-02-03 18:52:52 -06:00
bad5f3ad62
test!: Remove version resolving tests for "latest*" versions
This functionality is now offloaded to the API.
2024-02-03 18:52:51 -06:00
714c30554f
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-03 18:52:51 -06:00
ba9bc8bd26
feat: Add nf-core website API wrapper
Basically, a stand-in for OctoKit, but smarter.
2024-02-03 18:52:50 -06:00
a1e3fd897a
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-03 18:32:14 -06:00
4 changed files with 4 additions and 11 deletions

View file

@ -7,12 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Changed
- Upgraded GitHub Actions node version to v20
## [1.5.2] - 2024-02-07
### Added ### Added
- CI workflow steps for better compatibility with <https://github.com/nektos/act> - CI workflow steps for better compatibility with <https://github.com/nektos/act>
@ -91,8 +85,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- GitHub Actions workflow to test Nextflow installation and downstream usage - GitHub Actions workflow to test Nextflow installation and downstream usage
- Documentation and license files - Documentation and license files
[unreleased]: https://github.com/nf-core/setup-nextflow/compare/v1.5.2...HEAD [unreleased]: https://github.com/nf-core/setup-nextflow/compare/v1.5.1...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.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.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 [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 required: false
default: false default: false
runs: runs:
using: "node20" using: "node16"
main: "dist/index.js" main: "dist/index.js"
branding: branding:
icon: "shuffle" icon: "shuffle"

2
package-lock.json generated
View file

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

View file

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