renovate[bot]
b633c4c0ec
chore(deps): update module github.com/onsi/ginkgo/v2 to v2.17.3
2024-05-20 10:36:33 +02:00
Cosmin Cojocar
40f29c8d4a
Update docker image in action to v2.20.0
...
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
2024-05-14 15:57:16 +02:00
Cosmin Cojocar
6fbd381238
Catch os.ModePerm permissions in os.WriteFile
...
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
2024-05-14 15:33:23 +02:00
Cosmin Cojocar
dc5e5a99d0
Add a unit test to detect the false negative in rule G306 for os.ModePerm permissions
...
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
2024-05-14 15:33:23 +02:00
Cosmin Cojocar
417a44c73b
Add filepath.EvalSymlinks to clean functions in rule G304
...
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
2024-05-13 17:19:29 +02:00
renovate[bot]
d34f8b77d5
chore(deps): update all dependencies
2024-05-13 14:19:10 +02:00
Cosmin Cojocar
8658b8eab6
Update Go to version 2.22.3 in CI and release
...
Signed-off-by: Cosmin Cojocar <cosmin@cojocar.ch>
2024-05-12 11:40:57 +02:00
renovate[bot]
d3b2359ae2
chore(deps): update module golang.org/x/text to v0.15.0
2024-05-06 12:35:14 +02:00
renovate[bot]
cf29d543e2
chore(deps): update all dependencies
2024-05-02 10:27:10 +02:00
renovate[bot]
09d62bd630
chore(deps): update module github.com/onsi/gomega to v1.33.0
2024-04-22 09:11:31 +02:00
Cosmin Cojocar
3b23ec8f09
Update to go 1.22.2
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-04-08 11:51:51 +02:00
renovate[bot]
31009c3db8
chore(deps): update all dependencies
2024-04-08 11:41:11 +02:00
renovate[bot]
daf6f670f7
chore(deps): update module github.com/onsi/ginkgo/v2 to v2.17.1
2024-04-02 09:51:47 +02:00
renovate[bot]
e27f442499
chore(deps): update all dependencies
2024-03-25 11:02:28 +01:00
Martin Desrumaux
551361539e
fix(helpers/goversion): get from go.mod
2024-03-20 11:43:30 +01:00
avoidalone
43b8b75d88
chore: fix function name
...
Signed-off-by: avoidalone <wuguangdong@outlook.com>
2024-03-11 11:56:41 +01:00
renovate[bot]
accd7a1319
chore(deps): update all dependencies
2024-03-11 11:56:06 +01:00
Cosmin Cojocar
48aa72e1ef
Format the imports using the gci tool
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-03-08 12:15:42 +01:00
nobishino
b6df69cd07
Fixup: delete unused variable
2024-03-08 12:15:42 +01:00
nobishino
ccb0a08221
Fix test: update test to comply with the spec of generated sources
...
https://pkg.go.dev/cmd/go#hdr-Generate_Go_files_by_processing_source says:
> This line must appear before the first non-comment, non-blank text in the file.
Original test cases fail with the previous commit because test source does not comply with this spec.
So, probably we should update test case to comply with the spec.
(This is a breaking change, though)
2024-03-08 12:15:42 +01:00
nobishino
3a0ea5176b
Refactor: use standard function to check if a file is generated
...
As of Go1.21, we can use https://pkg.go.dev/go/ast#IsGenerated to check if a file is generated.
Probably we want to use this instead of own implementation.
2024-03-08 12:15:42 +01:00
Hiroki Yorimitsu
11c32522c5
Fix lint warnings
2024-03-07 16:33:18 +01:00
Hiroki Yorimitsu
be378e682f
Add support for math/rand/v2 added in Go 1.22
2024-03-07 16:33:18 +01:00
Cosmin Cojocar
36878a9423
Skip the G601 tests for Go version 1.22
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-03-07 12:23:46 +01:00
Cosmin Cojocar
903c75b05e
Update go version to 1.22.1 and 1.21.8
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-03-07 12:23:46 +01:00
Janusz Marcinkiewicz
f25ccd9fb5
Ignore 'implicit memory aliasing' rule for Go 1.22+
...
Signed-off-by: Janusz Marcinkiewicz <januszm@nvidia.com>
2024-03-04 10:24:32 +01:00
renovate[bot]
582e91af06
chore(deps): update all dependencies
2024-03-04 10:10:31 +01:00
renovate[bot]
198a40ca23
chore(deps): update module golang.org/x/tools to v0.18.0
2024-02-19 09:41:51 +01:00
Quentin Laplanche
c824a5d308
fix(hardcoded): remove duplicated Stripe API Key
2024-02-13 10:02:03 +01:00
Cosmin Cojocar
d13d7dac9b
Update gosec version to v2.19.0 in the Github action
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-02-12 10:31:37 +01:00
Cosmin Cojocar
26e57d6b34
Update CI to go version 1.22
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2024-02-12 10:08:56 +01:00
renovate[bot]
e60b8d88e0
chore(deps): update all dependencies
2024-02-12 09:36:56 +01:00
renovate[bot]
1285eb7300
chore(deps): update all dependencies
2024-02-05 09:59:32 +01:00
renovate[bot]
cf4ab3ea7c
chore(deps): update all dependencies
2024-01-29 09:48:13 +01:00
renovate[bot]
277553c23d
chore(deps): update all dependencies
2024-01-22 09:42:14 +01:00
renovate[bot]
57ec76b97b
chore(deps): update all dependencies
2024-01-15 09:52:33 +01:00
renovate[bot]
8fa46c1e3e
chore(deps): update dependency babel-standalone to v7.23.7
2024-01-03 09:54:15 +01:00
renovate[bot]
53aa3f7883
chore(deps): update module golang.org/x/crypto to v0.17.0 [security]
2023-12-19 09:36:09 +01:00
renovate[bot]
187adabe34
chore(deps): update all dependencies
2023-12-18 10:42:31 +01:00
renovate[bot]
e1f27ba8fc
chore(deps): update actions/setup-go action to v5
2023-12-11 10:12:41 +01:00
Cosmin Cojocar
2aad3f02a5
Fix lint warnings by properly formatting the files
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-12-08 14:46:36 +01:00
Adam Kaplan
0e2a61899a
chore: Refactor Sample Code to Separate Files
...
Split the code in `source.go` to individual sample files, one per rule.
This will help contributors submit samples for new rules, or
improvements to existing rules. The cgo sample was all that was left
after refactoring, which resulted in its own sample file.
Sample code was also formatted to have some level of consistency.
Each sample go "file" attempts to keep the formatting of `gofmt`, and
each code sample is in its own section in the sample file.
Signed-off-by: Adam Kaplan <adam@adambkaplan.com>
2023-12-08 14:46:36 +01:00
Cosmin Cojocar
bc03d1c1bc
Update go version to 1.21.5 and 1.20.12 ( #1084 )
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-12-08 14:19:34 +01:00
renovate[bot]
79a6b475f0
chore(deps): update all dependencies ( #1080 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-04 10:06:03 +01:00
Cosmin Cojocar
eb256a7d70
Ignore the issues from generated files when using the analysis framework ( #1079 )
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-11-30 17:42:44 +01:00
Chaminda Divitotawela
43b7cbf661
Update README with upload-sarif v2 ( #1078 )
...
GitHub action upload-sarif v1 is deprecated and action fails if used. Updated README with v2 so workflow can be copy and use without modiciations
Fixes #1077
2023-11-28 09:09:22 +01:00
renovate[bot]
fece49805b
chore(deps): update dependency babel-standalone to v7.23.4
2023-11-27 09:30:11 +01:00
Pooja Shah
24c614bf16
Added ppc64le support
2023-11-16 10:07:21 +01:00
renovate[bot]
c736581f85
chore(deps): update all dependencies
2023-11-13 09:45:27 +01:00
Cosmin Cojocar
3188e3fb8e
Ensure ignores are handled properly for multi-line issues
...
Signed-off-by: Cosmin Cojocar <gcojocar@adobe.com>
2023-11-10 10:48:04 +01:00