-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Pin to latest plugins release 1.4.3 2. Toolbox is now defined in plugins repo / so remove local definition of the tool from configs.
- Loading branch information
1 parent
ce5de7a
commit 5ea7124
Showing
2 changed files
with
3 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,33 +10,6 @@ runtimes: | |
- [email protected] | ||
|
||
lint: | ||
downloads: | ||
- name: trunk-toolbox | ||
# Our own internal alpha linter | ||
downloads: | ||
- os: | ||
linux: unknown-linux-gnu | ||
macos: apple-darwin | ||
cpu: | ||
x86_64: x86_64 | ||
arm_64: aarch64 | ||
url: https://github.com/trunk-io/toolbox/releases/download/${version}/trunk-toolbox-${version}-${cpu}-${os}.tar.gz | ||
|
||
definitions: | ||
- name: trunk-toolbox | ||
download: trunk-toolbox | ||
files: [ALL] | ||
commands: | ||
- output: sarif | ||
run: trunk-toolbox --upstream ${upstream-ref} | ||
success_codes: [0] | ||
read_output_from: stdout | ||
disable_upstream: true | ||
target: . | ||
environment: | ||
- name: PATH | ||
list: ["${linter}"] | ||
|
||
# By sourcing this plugin, repos will enable these linters | ||
enabled: | ||
- [email protected] | ||
|
@@ -83,7 +56,7 @@ lint: | |
- [email protected] | ||
- [email protected] | ||
- [email protected] | ||
- trunk-toolbox@0.0.1 | ||
- trunk-toolbox@0.2.0 | ||
- [email protected] | ||
|
||
# Sourcing repos will have these configs available to applicable linters | ||
|