ci: run stylua via npx rather than via action #2

Closed
AdeAttwood wants to merge 2 commits from adeattwood/stylua-action into 0.x
Owner

Summary:

This is so we don't need the GITHUB_TOKEN that can not be added in forgejo. I
am giving it a go and the GITHUB_ prefix is reserved for secrets. There are
also issues with the action in a forgejo environment due to the API not
resolving to github.

This now should work on both platforms. So we can maintain github compatibility
for any pull requests that may come that way.

Test Plan:

Run the CI on github and forgejo, this will need to be a manual process to
validate this works.

Summary: This is so we don't need the GITHUB_TOKEN that can not be added in forgejo. I am giving it a go and the `GITHUB_` prefix is reserved for secrets. There are also issues with the action in a forgejo environment due to the API not resolving to github. This now should work on both platforms. So we can maintain github compatibility for any pull requests that may come that way. Test Plan: Run the CI on github and forgejo, this will need to be a manual process to validate this works.
AdeAttwood added 1 commit 2024-09-03 17:22:07 +00:00
ci: run stylua via npx rather than via action
All checks were successful
CI / Luacheck (pull_request) Successful in 21s
CI / StyLua (pull_request) Successful in 15s
CI / Cargo Format (pull_request) Successful in 19s
CI / Build and test (pull_request) Successful in 1m55s
Conventional Tools Commitlint / Commitlint (pull_request) Successful in 5s
e82227c427
Summary:

This is so we don't need the GITHUB_TOKEN that can not be added in forgejo. I
am giving it a go and the `GITHUB_` prefix is reserved for secrets. There are
also issues with the action in a forgejo environment due to the API not
resolving to github.

This now should work on both platforms. So we can maintain github compatibility
for any pull requests that may come that way.

Test Plan:

Run the CI on github and forgejo, this will need to be a manual process to
validate this works.
AdeAttwood self-assigned this 2024-09-03 17:24:50 +00:00
AdeAttwood added 1 commit 2024-09-03 18:28:22 +00:00
Merge branch '0.x' into adeattwood/stylua-action
All checks were successful
CI / Luacheck (pull_request) Successful in 18s
CI / StyLua (pull_request) Successful in 13s
CI / Cargo Format (pull_request) Successful in 18s
CI / Build and test (pull_request) Successful in 1m49s
Conventional Tools Commitlint / Commitlint (pull_request) Successful in 5s
75912732a0
Author
Owner

Merged in f910955ad1

Merged in f910955ad190f133893c0e46a81bcb26337b063c
AdeAttwood closed this pull request 2024-09-03 19:45:47 +00:00
AdeAttwood deleted branch adeattwood/stylua-action 2024-09-03 19:46:04 +00:00
All checks were successful
CI / Luacheck (pull_request) Successful in 18s
CI / StyLua (pull_request) Successful in 13s
CI / Cargo Format (pull_request) Successful in 18s
CI / Build and test (pull_request) Successful in 1m49s
Conventional Tools Commitlint / Commitlint (pull_request) Successful in 5s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: AdeAttwood/ivy.nvim#2
No description provided.