Commit Graph

63 Commits

Author SHA1 Message Date
Ludovic Fernandez
7774f98a88 feat: use absolute paths by default when using working-directory option (#1231) 2025-05-04 22:03:30 +02:00
Ludovic Fernandez
dec74fa030 feat: golangci-lint v2 support (#1198) 2025-03-24 15:16:39 +01:00
Ludovic Fernandez
911ec56a22 fix: update max version (#1201) 2025-03-17 22:47:30 +01:00
Ludovic Fernandez
2ee514f1f3 feat: restrict action v6 on golangci-lint v1 (#1194) 2025-03-12 17:10:24 +01:00
Ludovic Fernandez
7e7b516e44 fix: octokit retry (#1193) 2025-03-12 17:09:01 +01:00
Ludovic Fernandez
8d744d5b7f feat: verify with the JSONSchema by default (#1171) 2025-02-15 15:02:58 +01:00
Ludovic Fernandez
1c50240be2 fix: use config arg for verify (#1168) 2025-02-14 13:56:21 +01:00
Ludovic Fernandez
f7463c56f6 feat: add an option to verify with the JSONSchema (#1167) 2025-02-13 23:14:24 +01:00
Ludovic Fernandez
32f961426b chore: extract patch related code (#1166) 2025-02-13 22:16:32 +01:00
Ludovic Fernandez
ea34ee71d6 fix: go.mod parsing (#1165) 2025-02-13 13:35:39 +01:00
Ludovic Fernandez
b85ce4ff0a fix: path patch (#1162) 2025-02-10 15:33:29 +01:00
Ludovic Fernandez
3e6beafdff fix: restrict patched version to v1 (#1158) 2025-02-09 02:03:24 +01:00
Ludovic Fernandez
1dd93d052e chore: use new assets file (#1154) 2025-02-04 15:15:08 +01:00
Ludovic Fernandez
ec5d18412c feat: support linux arm64 public preview (#1144) 2025-01-16 21:40:47 +01:00
Ludovic Fernandez
c7bab6f874 fix: clean go install output (#1102) 2024-09-13 00:04:49 +02:00
Ludovic Fernandez
aaa42aa062 feat: allow to skip golangci-lint installation (#1079) 2024-07-30 00:16:22 +02:00
Fernandez Ludovic
2c01d264ab fix: home dir on Windows 2024-07-03 00:49:42 +02:00
Fernandez Ludovic
7b547992bc fix: remove debug logs 2024-05-10 03:47:36 +02:00
Ludovic Fernandez
a4f60bb28d fix: use 3-dots syntax for diff on push (#1040) 2024-05-08 05:51:20 +02:00
Ludovic Fernandez
789f114c52 feat: rewrite format handling (#1038) 2024-05-07 01:40:17 +02:00
Ludovic Fernandez
38e1018663 feat: improve log about pwd/cwd (#1033) 2024-05-05 01:13:21 +02:00
Ludovic Fernandez
21e9e6b47f feat: use OS and working-directory as cache key (#1032) 2024-05-04 18:43:48 +02:00
Fernandez Ludovic
dbe4fc23f1 chore: use getBooleanInput 2024-05-04 17:49:04 +02:00
Ludovic Fernandez
dbb7ebcd4c feat: add option to control cache invalidation interval (#1031) 2024-05-04 17:47:25 +02:00
Ludovic Fernandez
ecb32920c6 feat: uses 2 dots compare syntax for push diff (#1030) 2024-05-04 16:54:30 +02:00
Fernandez Ludovic
aebff4bd9c feat: add option to enable/disable annotations 2024-05-04 01:40:50 +02:00
Ludovic Fernandez
9d1e0624a7 feat: only new issues enhancements (#1029) 2024-04-29 17:07:23 +02:00
Ludovic Fernandez
82d40c283a feat: remove Go cache management (#1024) 2024-04-25 03:26:57 +02:00
Navneeth Jayendran
c683728f10 feat: add option to not save cache (#851) 2024-04-25 01:17:21 +00:00
Egor Kovetskiy
bf6479d5ec feat: add support for pull_request_target and only-new-issues (#506) 2024-04-25 03:03:53 +02:00
CfirTsabari
3a91952989 feat: working-directory with only-new-issues (#795)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-08-14 23:13:33 +02:00
Ludovic Fernandez
569abaa281 fix: out-format (#770) 2023-06-12 11:41:42 +02:00
Jan Oopkaup
322510a3ea feat: support out-format as args (#769)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2023-06-12 10:43:54 +02:00
Ludovic Fernandez
185e7a2f8f feat: add install-mode (#768) 2023-06-11 19:16:14 +02:00
bbernays
1626f2bd94 Support Caching in Mono Repo (#629) 2023-01-14 16:43:01 +01:00
Eric Zimanyi
537aa1903e Expire cache periodically to avoid unbounded size (#466)
* Expire cache periodically to avoid unbounded size

The cache key includes a sequence number that rotates every 7 days
but because we are also using the base `golangci-lint.cache` as a
restore key, the new cache will always be seeded with the full
contents of the old cache.

In particular for the go module cache, this leads to an ever
increasing number of cached packages that never get pruned.

This commit updates it so we stop using `golangci-lint.cache` as
a restore key, which will force a build from an empty cache once
every 7 days.

* Rebuild files in dist/
2022-05-10 21:30:26 -07:00
Tomas Dabasinskas
cdfc708aeb Allow to disable caching completely (#351)
* Add skip-cache parameter

* Update README

* Implement cache skipping

* Run prettier

* update descriptions

* re-build dist

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-02-26 08:16:23 -08:00
Sergey Vilgelm
c675eb70db Update all direct dependencies (#404)
* Update all direct dependencies

* use node v16
* upgrade typescript to v4.5.5
* upgrade actions/github to v5
* use vercel/ncc v0.33.3

* Add compatibility note for v3

* increase timeout for the testing workflow
2022-02-24 11:13:47 -08:00
Steve Coffman
423fbafafc Remove Setup-Go (#403)
* Remove Setup-Go

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Add setup-go to test github actions

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* Modify README and action.yml per review

Signed-off-by: Steve Coffman <steve@khanacademy.org>

* build dist

Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
2022-02-24 09:34:23 -08:00
Michael Mulligan
5c56cd6c9d Extract and don't mangle User Args. (#200) 2021-04-04 10:20:31 +02:00
Sergey Vilgelm
d9f0e73c04 Check that go.mod exists in reading the version (#173)
Add additional tests in github actions
Support working directory for reading the version from go.mod
2021-02-23 23:51:00 -06:00
Lukas Malkmus
51485a4001 Try to get version from go.mod file (#118)
* Try to get version from go.mod file

* re-build

Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-23 10:45:22 -06:00
Sean McGinnis
a12ae43dd8 Add --overwrite flag to tar extraction (#156)
* Add --overwrite flag to tar extraction

There are times when previous actions have already extracted at least
some files to the cache location. This results in subsequent cache
extraction operations to emit errors such as:

> /usr/bin/tar: [dest_file_path]: Cannot open: File exists

This adds the --overwrite flag to the extract call to force tar to
just overwrite these files rather than reporting errors.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>

* npm run lint-fix & npm run format

* ignore macOS

Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2021-02-23 09:00:58 -06:00
Sindre Røkenes Myren
0dd30832fc Add options to skip caching of folders. (#154)
Add option to skip caching the Go package directory (~/go/pkg).
Add option to skip caching the Go build directory (~/.cache/go-build).
Update README to mention new options.
2021-02-14 10:59:58 -06:00
Sergey Vilgelm
e4e910b0ce Add a skip-go-installation to use pre-installed Go (#144)
* update package-lock.json

* Add skip-go-installation to use pre-installed Go

Add the golangci-lint to PATH
2020-12-31 11:20:57 -06:00
Tam Mach
a1c5369c06 feat(version): Support for patch verison (#101)
This commit is to support X.Y.Z version in config.

- if X.Y.Z version is passed, honour it 👍
- if X.Y version is passed, keep the same behaviour
as it is right now.

Closes #98

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-17 16:52:51 +08:00
Tam Mach
54a84d46fb chore(dist): Update dist directory after few dependent bot PRs (#99)
This commit is to update dist directory after few dependent bot PRs

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-10-11 20:39:48 +03:00
Sergey Vilgelm
6317259e28 Run action on different platforms (#65) 2020-08-03 17:35:08 +03:00
Sergey Vilgelm
809d3b078b Support latest tag for golangci-lint version (#64) 2020-08-02 11:04:32 -05:00
dependabot[bot]
b026646c83 build(deps): bump @actions/github from 2.1.1 to 4.0.0 (#45)
* build(deps): bump @actions/github from 2.1.1 to 4.0.0

Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 2.1.1 to 4.0.0.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/master/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

Signed-off-by: dependabot[bot] <support@github.com>

* Fix usage of github action

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sergey Vilgelm <sergey.vilgelm@ibm.com>
2020-08-02 06:08:36 -05:00