22 Commits

Author SHA1 Message Date
Cornelius Hoffmann
076034f406 Update staticcheck
switch to errors.New() for error messages without formatting to avoid this lint error:

> printf-style function with dynamic format string and no further arguments should use print-style function instead (SA1006)
2024-08-15 10:03:38 +02:00
Morten Linderud
55ab027417 update staticcheck and fix gh upload
Signed-off-by: Morten Linderud <morten@linderud.pw>
2024-08-13 00:10:06 +02:00
Morten Linderud
fff86bf4dd sbctl: implement a hidden version command
Signed-off-by: Morten Linderud <morten@linderud.pw>
2024-07-31 12:32:45 +02:00
Dimitris Karakasilis
de2bd3c75a Run integration tests in CI
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
2024-04-25 11:11:31 +03:00
Morten Linderud
ee7cf4a33c make: fix github artifact upload
Signed-off-by: Morten Linderud <morten@linderud.pw>
2023-12-23 23:02:48 +01:00
Morten Linderud
1912863ec2 updated to go 1.20
Signed-off-by: Morten Linderud <morten@linderud.pw>
2023-02-11 19:07:00 +01:00
Morten Linderud
843fdc93b0 make: bump staticcheck version
Signed-off-by: Morten Linderud <morten@linderud.pw>
2022-05-08 17:02:32 +02:00
Hugo Osvaldo Barrera
6e3a86817c staticcheck is not in $PATH in CI
Also update it, since the 2020 version doesn't work on a recent go
version.
2022-04-20 12:56:00 +02:00
Morten Linderud
50886c6dd7 Makefile: Added phony target for sbctl
Signed-off-by: Morten Linderud <morten@linderud.pw>
2021-11-06 16:49:06 +01:00
ml
2416b1a3b2 Makefile: make aur pkg from local source 2021-10-23 21:46:33 +02:00
ml
16d618bce2 fix AUR build 2021-10-23 21:34:50 +02:00
eNV25
a97b9c5803 Makefile: simplify install target and add kernel-install hook 2021-10-10 12:35:01 +02:00
Morten Linderud
69e52d3efb Makefile: Add completions
Signed-off-by: Morten Linderud <morten@linderud.pw>
2021-09-05 14:41:59 +02:00
Morten Linderud
a738c8c2e3 Fixed gitignore and go modules
Signed-off-by: Morten Linderud <morten@linderud.pw>
2021-06-02 21:55:36 +02:00
Morten Linderud
611f2818c6 Makefile: Fixup make before release
Signed-off-by: Morten Linderud <morten@linderud.pw>
2021-02-28 14:08:36 +01:00
Dan Bond
8264a3e370 add staticcheck linter 2020-11-08 10:20:56 +00:00
Érico Rolim
eb4bbaf84e Create cmd/sbctl, move main.go there.
This allows a user or developer to build and install the command with:

- go build ./cmd/sbctl; and
- go install ./cmd/sbctl

Fixes #8
2020-06-21 16:21:56 -03:00
Morten Linderud
e69f770d20 Added push-aur target
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-06-14 15:39:55 +02:00
Morten Linderud
f612f44c1f Added Makefile for AUR package
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-05-17 13:52:07 +02:00
Morten Linderud
b1f953061c Remove CGO flags from Makefile
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-05-17 13:38:31 +02:00
Morten Linderud
a4d458e77e Addded misc
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-05-03 22:57:33 +02:00
Morten Linderud
0b5d4a46ea Init
Signed-off-by: Morten Linderud <morten@linderud.pw>
2020-05-03 19:41:09 +02:00