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
4 changes: 2 additions & 2 deletions pkg/cli/update_actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ func getLatestActionRelease(repo, currentVersion string, allowMajor, verbose boo
if latestCompatibleVersion == nil || releaseVer.isNewer(latestCompatibleVersion) {
latestCompatible = release
latestCompatibleVersion = releaseVer
} else if !releaseVer.isNewer(latestCompatibleVersion) &&
} else if !releaseVer.isNewer(latestCompatibleVersion) &&
releaseVer.major == latestCompatibleVersion.major &&
releaseVer.minor == latestCompatibleVersion.minor &&
releaseVer.patch == latestCompatibleVersion.patch {
Expand Down Expand Up @@ -310,7 +310,7 @@ func getLatestActionReleaseViaGit(repo, currentVersion string, allowMajor, verbo
if latestCompatibleVersion == nil || releaseVer.isNewer(latestCompatibleVersion) {
latestCompatible = release
latestCompatibleVersion = releaseVer
} else if !releaseVer.isNewer(latestCompatibleVersion) &&
} else if !releaseVer.isNewer(latestCompatibleVersion) &&
releaseVer.major == latestCompatibleVersion.major &&
releaseVer.minor == latestCompatibleVersion.minor &&
releaseVer.patch == latestCompatibleVersion.patch {
Expand Down
4 changes: 2 additions & 2 deletions pkg/workflow/js/safe_outputs_tools_loader.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const fs = require("fs");
*/
function loadTools(server) {
const toolsPath = process.env.GH_AW_SAFE_OUTPUTS_TOOLS_PATH || "/tmp/gh-aw/safeoutputs/tools.json";

server.debug(`Reading tools from file: ${toolsPath}`);

if (!fs.existsSync(toolsPath)) {
Expand Down Expand Up @@ -52,7 +52,7 @@ function attachHandlers(tools, handlers) {
tool.handler = handler;
}
});

return tools;
}

Expand Down
2 changes: 1 addition & 1 deletion pkg/workflow/runtime_setup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ func TestGenerateRuntimeSetupSteps(t *testing.T) {
expectSteps: 1,
checkContent: []string{
"Setup Haskell",
"haskell-actions/setup@782a7c5aa54495c3d21d7c8d5f03a8a2113a1ff7",
"haskell-actions/setup@55073cbd0e96181a9abd6ff4e7d289867dffc98d",
"ghc-version: '9.10'",
},
},
Expand Down