a46a611717
chore: Update CHANGELOG
2024-02-03 11:16:01 -06:00
b9e2acafe8
feat: Add actrc file
2024-02-03 11:16:01 -06:00
58b277c92b
feat: Add Java install if using act
...
For some reason, I need to pin the Java install when using act. This is not
needed when using the GitHub Actions runner, so add an escape clause to
only run this extra step when using act.
2024-02-03 11:16:01 -06:00
a0a0a4327f
refactor: Rename integration testing CI workflows to 'example-usage'
...
We have two CI workflows with the name "test" (three if you count
"test-14"). This ambiguates the job name, and results in act running both
unit tests and integration tests when running `act -j test`. Fix that by
changing the names.
2024-02-03 11:16:01 -06:00
ebae0f3159
chore: Update CHANGELOG for v1.5.1
2024-01-30 10:46:04 -06:00
c4fb7bfc75
chore: bump version in package json files
2024-01-30 10:44:39 -06:00
ba0bc84592
chore: Update CHANGELOG
2024-01-30 10:42:55 -06:00
3e5019b784
ci: Update minimum node version in ci
...
The pagination changes require Node.js 18 or greater, so update the test
apparatus to use the latest LTS version of Node.
2024-01-30 10:42:55 -06:00
da56dbefc9
test: Refactor API tests to work with combined functions
...
Now that we are lazy-loading the API pages, OctokitWrapper is handling the
conversion to NextflowRelease in one function call. This means we can't test
the API schema. That should be fine as we pinned the API version. We can
test that the resulting objects for validity, so do that.
2024-01-30 10:42:55 -06:00
67a9c84bd7
feat: Pin GitHub API version
2024-01-30 10:42:55 -06:00
a5dd242af1
feat!: Remove tag_filter function
2024-01-30 10:42:55 -06:00
2850a8553a
refactor: Replace pull_releases function with iterator generator
...
Although the types are different, the intent is the same, so I think the
name is fitting.
2024-01-30 10:42:55 -06:00
91ef9fb65a
test: Update testing framework to support iterators
2024-01-30 10:42:55 -06:00
737834224d
refactor: Swap list filtering with lazy iterations
2024-01-30 10:42:55 -06:00
2f9c53c090
fix: Make iterator work right
2024-01-30 10:42:55 -06:00
4af33538f0
feat: Add lazy release iterator
2024-01-30 10:42:55 -06:00
c71f252745
feat: Add using GitHub API latest feature back in
2024-01-30 10:42:55 -06:00
82d97e2453
refactor: Place latest stable release conversion inline
2024-01-30 10:42:55 -06:00
7473a3926d
refactor: Use callback for octokit conversion
2024-01-30 10:42:55 -06:00
251e9bd445
feat: Add larger pagination to octokit-wrapper
2024-01-30 10:42:55 -06:00
d52c98d592
chore: Bump version in CHANGELOG
2024-01-21 22:09:10 -06:00
77d8bbb78a
chore: Bump version is package.json to v1.5.0
2024-01-21 22:09:10 -06:00
2098c3cdb2
feat!: Remove manual API calling tests
...
These tests are no longer used since the switch to OctokitWrapper, and
conflict with packages required for the implementation of throttling, so
remove them.
2024-01-21 20:57:22 -06:00
8982670453
chore: Update CHANGELOG
2024-01-21 20:57:22 -06:00
ad67a7e0bd
feat: Pass action inputs to OctkitWrapper
2024-01-21 20:57:22 -06:00
d8ab760f18
chore: Remove unused imports
2024-01-21 20:57:22 -06:00
803f3d4782
feat: Add throttling to OctkitWrapper
2024-01-21 20:57:22 -06:00
0e885a8e09
chore: Update GitHub actions package to v6.0.0
...
The GitHub actions API changes the underlying type structure to allow
for plugins like the throttling plugin at v6, so update to that version.
2024-01-21 20:57:22 -06:00
120ab3178f
feat: Add max-retries parameter to action inputs
2024-01-21 20:57:22 -06:00
a60acb2a32
feat: Add cooldown parameter to action inputs
2024-01-21 20:57:22 -06:00
37825f6967
chore: Install Octokit throttling plugin package
2024-01-21 20:57:22 -06:00
mashehu
b30f81e0d5
add todo item back
2024-01-12 18:02:02 +00:00
mashehu
a082e105b0
make linter happy
2024-01-12 18:02:02 +00:00
aedbf9a630
fix: Support versions of Nextflow without "all" variants
2024-01-12 18:02:02 +00:00
99c654d38a
fix: Add check for non-semver version strings in cache check
2024-01-12 18:02:02 +00:00
f65da33a7d
test: Update version checking tests
2024-01-12 18:02:02 +00:00
85718639f5
test: Update API consistency tests
2024-01-12 18:02:02 +00:00
670f4c751c
refactor: Update main script to use NextflowRelease objects
2024-01-12 18:02:02 +00:00
2483bb745d
refactor: Outsource API calls to OctokitWrapper
2024-01-12 18:02:02 +00:00
2a5cf63744
docs: Clarify why CAPSULE_LOG is set
2024-01-12 18:02:02 +00:00
3e1cca9d8c
refactor: Add and remove imports from main script
2024-01-12 18:02:02 +00:00
9a573cd481
refactor: Make install_nextflow work using NextflowRelease objects
2024-01-12 18:02:02 +00:00
5a5c42e549
refactor: Make get_nextflow_release work using NextflowRelease objects
2024-01-12 18:02:02 +00:00
bc65c05e25
refactor: Make tag filtering work on NextflowRelease objects
2024-01-12 18:02:02 +00:00
cdb0393711
refactor!: Move all Octokit code to own file
...
Separation of concerns. We want to completely separate the internals of
Octokit from this application, so move any reference/call to Octokit into
its own file to symbolize that.
2024-01-12 18:02:02 +00:00
ca8fcaccab
feat: Add nextflow_release function
...
WIth the goal being to convert Octokit data into NextflowRelease objects,
create a function that can do that in one line.
2024-01-12 18:02:02 +00:00
a97128956e
refactor: Move nextflow_bin_url function to NextflowRelease.ts
...
Nextflow binary URLs should be stored in the new NextflowRelease object, so
it should essentially be private for the NextflowRelease type. Move the
function to that file to signify that (but retain export for testing
purposes).
2024-01-12 18:02:02 +00:00
7cc27d1095
feat: Add NextflowRelease type
2024-01-12 18:02:02 +00:00
d736e9561d
docs: Add codecov badge to README
2023-10-31 01:42:06 +00:00
71753bca1d
feat: Add codecov action to test workflow
2023-10-31 01:42:06 +00:00