Julian Strobl
d4ed98b9ed
chore(ci): bump go version to v1.22
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-11-12 11:24:34 +01:00
Lorenz Herzberger
b0f8516cd6
379 create redeem claim does not call service ( #383 )
...
* feat: add rddl-claim-service/client
---------
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
Co-authored-by: Julian Strobl <jmastr@mailbox.org>
2024-04-25 14:38:58 +02:00
Julian Strobl
0ec6fba4ec
test: run action dynamically for each module in a repository ( #351 )
...
// https://stackoverflow.com/a/68746128
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-03-20 09:48:18 +01:00
Julian Strobl
8a5e7b5da6
fix: deprecated github actions ( #342 )
...
Warning:
```
Node.js 16 actions are deprecated. Please update the following actions
to use Node.js 20: actions/checkout@v3, actions/setup-go@v4.
```
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-03-07 10:02:32 +01:00
Julian Strobl
ee4089f847
Remove planetmint-go
from API endpoints ( #287 )
...
* feat: let the ci check if there are malformed api endpoints
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-01-16 10:39:32 +01:00
Julian Strobl
99031fb857
lib: add initial e2e tests ( #255 )
...
* fix: only increase counter if broadcast was successful
Otherwise we will get account and sequence numbers mismatches.
* test: add initial e2e tests for `lib/`
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-01-03 13:08:13 +01:00
Julian Strobl
48b3145aaa
refactor: github audit workflow ( #251 )
...
Execute jobs in parallel to speed up the workflow.
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2024-01-03 09:24:17 +01:00
Julian Strobl
363d82d344
[ci] Improve staticcheck setup ( #221 )
...
* [staticcheck] Fix comments on exported functions and structs
* [ci] Improve staticcheck setup
- Add global staticcheck.conf file
- Ignore: at least one file in a package should have a package comment (ST1000)
- Ignore deprecation warnings. They are reported by golangci-lint and
there we have a proper way to exclude generated files.
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-11 11:41:45 +01:00
Julian Strobl
0455176123
[ci] Pin ignite version to v0.27.1 ( #213 )
...
Version v28.0.0 was released and breaks the pipeline.
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-12-06 11:13:04 +01:00
Julian Strobl
d5339f331c
[ci] Add coverage report ( #204 )
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-29 08:08:23 +01:00
Julian Strobl
e36eb6c2a1
Add golangci-lint run
to lib/
( #181 )
...
* [lib] Add .golangci.yaml as symlink
https://github.com/golang/go/wiki/Modules#faqs--multi-module-repositories
* [golangci-lint] Change `nakedret` settings
* [linter] Can be replaced with faster hex.EncodeToString (perfsprint)
* [linter] Fix too many quotes
* [ci] Add `golangci-lint run` of `lib/`
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-11-16 09:16:56 +01:00
Julian Strobl
bed03197b5
[ci] Add forbidigo to golangci-lint ( #160 )
...
* Move setup into config file
* Add forbidigo to default linters
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-20 13:31:16 +02:00
Julian Strobl
126d59cff9
[ci] Check generated files
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-10-16 13:17:10 +02:00
Lorenz Herzberger
d32c2c71cf
add dao lint rule to audit workflow
...
Signed-off-by: Lorenz Herzberger <lorenzherzberger@gmail.com>
2023-09-05 12:21:06 +02:00
Julian Strobl
e33fd74d64
[ci] golangci-lint action needs Go 1.20
...
Error:
* module requires Go 1.20
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-08-22 14:44:42 +02:00
Julian Strobl
a6b862860a
[ci] Check for proper code formatting
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-20 09:08:55 +02:00
Julian Strobl
6037c6009c
[ci] Add lint-ignore comment to generated files
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-20 09:08:54 +02:00
Julian Strobl
359cbbc5d9
[lint] Switch to golangci-lint and fix errors
...
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-19 16:34:42 +02:00
Julian Strobl
6a4dec59cc
[audit] Remove continue-on-error
on staticcheck
...
Let the pipeline fail if there is a staticcheck finding.
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-07 10:37:27 +02:00
Julian Strobl
3bd2befbf0
[CI] Add initial audit.yaml
...
https://www.alexedwards.net/blog/ci-with-go-and-github-actions
// Closes #18
Signed-off-by: Julian Strobl <jmastr@mailbox.org>
2023-07-04 14:39:54 +02:00