From 7e1f7aa36c8c1e2c9dcdf921a4a74e086acd283d Mon Sep 17 00:00:00 2001 From: Ken Muse Date: Thu, 6 Jun 2024 16:26:18 +0000 Subject: [PATCH 1/2] Correct casing --- LICENSE | 2 +- action.yml | 4 ++-- package.json | 13 ++++--------- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/LICENSE b/LICENSE index 2e8810c..cbfbcb8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2024 RedGate and contributors +Copyright (c) 2024 Redgate and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/action.yml b/action.yml index 52cbf48..7c6f780 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ -name: 'Setup RedGate Flyway' +name: 'Setup Redgate Flyway' description: 'Set up a specific version of Flyway and add the command-line tools to the PATH' -author: 'RedGate' +author: 'Redgate' inputs: version: description: The version specification diff --git a/package.json b/package.json index 9ab827b..51105ec 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,18 @@ { "name": "setup-flyway", "version": "0.1.0", - "description": "Setup RedGate Flyway for Actions", + "description": "Setup Redgate Flyway for Actions", "main": "dist/index.mjs", "type": "module", "scripts": { "build": "yarn node ./esbuild.mjs", "format": "yarn prettier --no-error-on-unmatched-pattern --config ./.prettierrc.yml --write \"**/*.{mts,ts,yml,yaml}\"", "format:check": "yarn prettier --no-error-on-unmatched-pattern --config ./.prettierrc.yml --check \"**/*.{mts,ts,yml,yaml}\"", - "lint": "yarn eslint", - "lint:fix": "yarn eslint --fix", + "lint:check": "yarn eslint", + "lint": "yarn eslint --fix", "prerelease": "yarn run build", "release": "git add -f dist/index.js dist/cleanup.js", - "test": "yarn jest --config jest.config.ts", - "test-esm": "NODE_OPTIONS=\"--experimental-vm-modules\" jest --config jest.config.ts", - "test-cmd1": "mkdir -p /tmp/runner/cache && INPUT_VERSION=\"10.0.0\" INPUT_ARCHITECTURE=x64 RUNNER_TOOL_CACHE=/tmp/runner/cache RUNNER_TEMP=/tmp/runner/tmp node dist/setup.mjs", - "test-cmd2": "mkdir -p /tmp/runner/cache && INPUT_VERSION=\"latest\" INPUT_ARCHITECTURE=x64 RUNNER_TOOL_CACHE=/tmp/runner/cache RUNNER_TEMP=/tmp/runner/tmp node dist/setup.mjs", - "test-cmd3": "mkdir -p /tmp/runner/cache && INPUT_VERSION=\"<10.5\" INPUT_ARCHITECTURE=x64 RUNNER_TOOL_CACHE=/tmp/runner/cache RUNNER_TEMP=/tmp/runner/tmp node dist/setup.mjs", - "test-cmd4": "mkdir -p /tmp/runner/cache && INPUT_VERSION=\"10.8\" INPUT_ARCHITECTURE=java RUNNER_TOOL_CACHE=/tmp/runner/cache RUNNER_TEMP=/tmp/runner/tmp node dist/setup.mjs" + "test": "yarn jest --config jest.config.ts" }, "repository": "git+https://github.com/kenmuse/setup-flyway.git", "keywords": [ From 9ad19d7d585d7ec8028e90bd7e8531433f0114be Mon Sep 17 00:00:00 2001 From: Ken Muse Date: Thu, 6 Jun 2024 16:34:19 +0000 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 177026d..46b0730 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ The `setup-flyway` action will download and set up a requested version of the Fl - `edition` - The edition of the Flyway CLI to set up. Can specify `community` or `enterprise`. **Default:** `community`. > [!NOTE] -> The Flyway CLI supports 'windows-x64', 'linux-x64', 'macosx-arm64', 'macosx-x64', and 'linux-alpine-x64' platforms. +> The Flyway CLI supports `windows-x64`, `linux-x64`, `macosx-arm64`, `macosx-x64`, and `linux-alpine-x64` platforms. > For all other platforms, the Java version of the Flyway CLI should be used. ### Basic Configuration