Stefan Haller
7af371701d
Use go:generate for generating cheatsheets
...
This has several benefits:
- it's less code
- we're using the same mechanism to generate all our auto-generated files, so if
someone wants to add a new one, it's clear which pattern to follow
- we can re-generate all generated files with a single command
("go generate ./...", or "make generate")
- we only need a single check on CI to check that all files are up to date (see
previous commit)
2023-09-29 20:38:29 +02:00
Stefan Haller
5ccc95b76f
Generalize the CI check for the test list to all auto-generated files
...
At the moment, test_list.go is the only file that we generate using go:generate.
We will add another one in the next commit though, and we might add even more in
the future; it's useful to have a single check on CI that checks them all.
2023-09-29 20:20:09 +02:00
kyu08
a65d3119c0
upgrade golangci/golangci-lint-action to v3.7.0
2023-08-21 18:11:33 +09:00
kyu08
51ecf4089b
upgrade actions/setup-go to v4 and remove actions/cache for go cache
2023-08-21 18:10:52 +09:00
kyu08
0c0fe8997b
upgrade goreleaser/goreleaser-action to v4
2023-08-21 18:09:59 +09:00
kyu08
f86309dd03
upgrade JamesIves/github-sponsors-readme-action to v1.2.2
2023-08-21 18:09:33 +09:00
Stefan Haller
c877a8528f
Don't run the check-required-label check on master
...
master doesn't have a label, so CI for master currently always fails.
2023-08-07 08:41:13 +02:00
Jesse Duffield
975d2bedb6
Remove secureexec package
...
From the go 1.19 release notes:
Command and LookPath no longer allow results from a PATH search to be found relative to the current directory. This removes a common source of security problems but may also break existing programs that depend on using, say, exec.Command("prog") to run a binary named prog (or, on Windows, prog.exe) in the current directory. See the os/exec package documentation for information about how best to update such programs.
2023-07-30 19:59:51 +10:00
Jesse Duffield
39c900c7e7
Fix goreleaser
2023-07-21 09:03:47 +10:00
Jesse Duffield
b168fc8cdd
Add missing label to label checker
2023-07-20 17:31:40 +10:00
Jesse Duffield
1af6dff64e
Update release notes config and add CI check
2023-07-20 17:15:10 +10:00
Stefan Haller
d71f5d951e
Run integration tests with various git versions
...
We pick a few interesting ones in the range of supported versions.
Based on work by Ryooooooga <eial5q265e5@gmail.com>.
2023-07-10 15:09:27 +02:00
Stefan Haller
adce8ad398
Update checkout and cache action versions
2023-07-10 15:09:17 +02:00
Jesse Duffield
c7a3b69eb9
Remove retry logic in integration tests
...
I want to see how we go removing all retry logic within a test. Lazygit should be trusted to tell us when it's no longer busy,
and if it that proves false we should fix the issue in the code rather than being lenient in the tests
2023-07-09 20:57:18 +10:00
Jesse Duffield
01b3e8e8bb
Remove Uffizzi
...
We've given Uffizzi a go but haven't found utility in it, so we're removing it.
2023-05-30 17:54:09 +10:00
Jesse Duffield
aec46942a8
enforce lowercase filenames
2023-04-29 13:05:05 +10:00
Stefan Haller
b1a56249f5
Add CI job to check that the test list is up to date
2023-04-13 19:17:08 +02:00
Shruti Chaturvedi
81ea3107ed
Uffizzi PR: Update Uffizzi Workflows ( #2502 )
2023-03-18 11:33:07 +11:00
Jesse Duffield
8b5d59c238
remove legacy integration tests
2023-02-26 11:34:18 +11:00
Jesse Duffield
9c645088bf
give CI longer wait times before failing assertions
2023-02-25 21:37:16 +11:00
Jesse Duffield
89a09be6a0
Merge pull request #2262 from daramayis/uffizzi
2023-01-26 11:51:17 +11:00
Aramayis
b90af5461a
feat: uffizzi integration
2023-01-10 19:29:45 +04:00
Jesse Duffield
52316e628e
fix broken CI (see https://vielmetti.typepad.com/logbook/2022/10/git-security-fixes-lead-to-fatal-transport-file-not-allowed-error-in-ci-systems-cve-2022-39253.html )
...
try this
WIP
2022-11-12 10:53:12 +11:00
Jesse Duffield
a94c703afb
fail on vendor directory mismatch
...
try this
or this
more
2022-08-15 19:55:27 +10:00
Jesse Duffield
502723421b
build integration binaries on CI to ensure they compile
2022-08-14 17:20:52 +10:00
Jesse Duffield
5173d7f5e1
better CLI interface
2022-08-14 17:20:52 +10:00
Jesse Duffield
de84b6c4b9
remove buggy-ass action
2022-08-13 13:55:09 +10:00
Jesse Duffield
610eddfe05
fix CI
2022-08-13 13:55:09 +10:00
Ryooooooga
04772154b7
ci: change not to run Generate Sponsors
action on the fork repository
2022-07-18 21:51:32 +09:00
Jesse Duffield
2fc77796b1
fix ci
2022-06-11 13:20:49 +10:00
Jesse Duffield
3d61893589
add more cache paths
2022-06-11 13:11:56 +10:00
Jesse Duffield
02c5559704
run integration tests in parallel and properly cache windows build
2022-06-11 13:06:29 +10:00
Jesse Duffield
96147bc11a
add sponsors thingo
2022-05-11 23:11:24 +10:00
Dawid Dziurla
96f8201626
workflows: bump brew formula on Ubuntu
2022-05-07 11:59:40 +02:00
Jesse Duffield
a34bdf1a04
update linters
2022-03-19 12:12:57 +11:00
Jesse Duffield
dafac52a4c
see if this fixes CI linting
2022-01-15 15:34:01 +11:00
Jesse Duffield
e524e39842
move lint into ci yaml
2022-01-04 11:12:04 +11:00
Jesse Duffield
e8a1a4ffc0
add cheatsheet check script
2022-01-04 11:12:04 +11:00
Ryooooooga
9619d3447f
Run tests on Windows
2021-10-17 11:00:20 +11:00
mjarkk
3db40a79fe
Sperate gh action build step
2021-07-28 15:40:06 +02:00
Dawid Dziurla
f92fcfbb47
cd: remove ppa job
...
Deprecated
2021-05-07 00:08:22 +02:00
Daniel Bast
b726dcc770
Switch to Go 1.16 to support macOS arm64
2021-02-23 03:04:49 -08:00
Dawid Dziurla
d7c9243880
workflows: setup git before PPA repo updating
2020-12-24 10:32:50 +01:00
Dawid Dziurla
f3aacbd253
workflows: split CD into separate jobs
2020-12-24 09:51:50 +01:00
Dawid Dziurla
6faed08d9d
workflows: clean up linting
2020-11-16 10:02:57 +11:00
Sean Stiglitz
62b200a4be
Add GolangCI action.
2020-11-16 10:02:57 +11:00
Dawid Dziurla
f7bab5fdc0
workflows: update apt cache before installing pkgs
2020-11-05 11:47:21 +01:00
Dawid Dziurla
d2ea5dd8b7
workflows: don't sign commit
2020-10-14 00:01:19 +02:00
Dawid Dziurla
e0381b5920
workflows: run CD on Ubuntu 20.04
...
So we can get newer git-buildpackage
2020-10-13 23:51:40 +02:00
Dawid Dziurla
1dc837527f
workflows: update PPA repo as part of CD process
2020-10-13 13:43:14 +02:00