Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2025 Ryan Johnson
Copyright 2025-2026 Ryan Johnson

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Refer to the `examples/` folder for usage scenarios.

## License

Copyright © 2025 Ryan Johnson
Copyright © 2025-2026 Ryan Johnson

Licensed under the [MIT License][license].

Expand Down
2 changes: 1 addition & 1 deletion __mocks__/@actions/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Mock for @actions/cache
*/
Expand Down
2 changes: 1 addition & 1 deletion __mocks__/@actions/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Mock for @actions/core
*/
Expand Down
2 changes: 1 addition & 1 deletion __mocks__/@actions/exec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Mock for @actions/exec
*/
Expand Down
2 changes: 1 addition & 1 deletion __mocks__/@actions/tool-cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Mock for @actions/tool-cache
*/
Expand Down
2 changes: 1 addition & 1 deletion __tests__/cache.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import * as core from '@actions/core';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/installer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import * as toolCache from '@actions/tool-cache';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/test-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import { EventEmitter } from 'events';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils-basic.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import * as os from 'os';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils-file.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import * as fs from 'fs';
Expand Down
2 changes: 1 addition & 1 deletion __tests__/utils-network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

import * as https from 'https';
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 Ryan Johnson
# Copyright (c) 2025-2026 Ryan Johnson
# SPDX-License-Identifier: MIT

name: Setup Task (go-task/task)
Expand Down
2 changes: 1 addition & 1 deletion dist/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Cache management for GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Constants for the GitHub Action.
*/
Expand Down
12 changes: 6 additions & 6 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49628,7 +49628,7 @@ function _unique(values) {
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Constants for the GitHub Action.
*/
Expand Down Expand Up @@ -49658,7 +49658,7 @@ const RELEASES_URL = 'https://github.com/go-task/task/releases/download';
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Utility functions for the GitHub Action.
*/
Expand Down Expand Up @@ -49803,7 +49803,7 @@ function logAndFail(message) {
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Installer for the Task CLI tool.
*/
Expand Down Expand Up @@ -96435,7 +96435,7 @@ function saveCacheV2(paths_1, key_1, options_1) {
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Cache management for GitHub Action.
*/
Expand Down Expand Up @@ -96528,7 +96528,7 @@ async function dist_cache_saveCache(taskPath, version) {
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Entry point for the GitHub Action.
*/
Expand Down Expand Up @@ -96807,7 +96807,7 @@ function processEnvVars(inputValue) {
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Entry point for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/installer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Installer for the Task CLI tool.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Entry point for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/types.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Options for the Task installation.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Utility functions for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

const js = require('@eslint/js');
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Jest configuration optimized for memory usage and performance.
*/
Expand Down
2 changes: 1 addition & 1 deletion jest.setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Setup file for Jest tests.
*/
Expand Down
4 changes: 2 additions & 2 deletions scripts/generate-notice.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*/

/* eslint-env node */
Expand Down Expand Up @@ -53,7 +53,7 @@ function generateTableHeader() {
// Generate the table rows.
function generateTableRows(licensesData) {
const uniquePackages = new Map();

Object.entries(licensesData).forEach(([packageName, details]) => {
let normalizedName;
if (packageName.startsWith('@')) {
Expand Down
2 changes: 1 addition & 1 deletion src/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Cache management for GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Constants for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Entry point for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/installer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Installer for the Task CLI tool.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Entry point for the GitHub Action.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Options for the Task installation.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Utility functions for the GitHub Action.
*/
Expand Down
6 changes: 3 additions & 3 deletions taskfile.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2025 Ryan Johnson
# Copyright (c) 2025-2026 Ryan Johnson
# SPDX-License-Identifier: MIT

# Taskfile for running development tasks, tests, linting, and build operations.
Expand Down Expand Up @@ -135,7 +135,7 @@ tasks:
- echo "==> Checking for unused dependencies..."
- npx depcheck || true
- echo "==> Run 'task update:dependencies' to update packages"

update:dependencies:
desc: Update all dependencies to their latest versions.
cmds:
Expand All @@ -149,7 +149,7 @@ tasks:
- echo "==> Running tests to verify updates..."
- npm test || { echo "Tests failed after update, consider reverting with 'task update:dependencies:revert'"; exit 1; }
- echo "==> Dependencies updated successfully!"

update:dependencies:revert:
desc: Revert to backup package files if update fails.
cmds:
Expand Down
2 changes: 1 addition & 1 deletion update-package-json.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @license
* SPDX-License-Identifier: MIT
*
* Copyright (c) 2025 Ryan Johnson
* Copyright (c) 2025-2026 Ryan Johnson
*
* Script to update package.json for GitHub Action.
*/
Expand Down
Loading