Commit Graph

23 Commits

Author SHA1 Message Date
Andrea Luzzardi
2bb6445e56 ci: fix CUE linter
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-12 16:32:43 -07:00
Andrea Luzzardi
4c44543a3d ci: cue linter: include all CUE files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-07 17:35:51 -07:00
Andrea Luzzardi
162949d87d ci: lint dagger using dagger
- `Makefile` now uses `dagger do lint` to lint
- GHA uses dagger to lint

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-06 18:42:18 -07:00
Andrea Luzzardi
93d2224073 ci: move ci infra top-level
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 18:06:54 -07:00
Andrea Luzzardi
50b36a50aa ci: lint markdown files
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Andrea Luzzardi
517262dfde ci: lint shell
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Andrea Luzzardi
31daeb05ed ci: improve dogfood configuration
- Use official Go package
- Use golangci-lint package
- Fix node_modules exclusion for local source
- Improve CUE performance by optimizing cache hits

Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
2022-04-04 15:34:02 -07:00
Helder Correia
5abd77f4f2
Move types and plan back to main dagger package
Signed-off-by: Helder Correia <174525+helderco@users.noreply.github.com>
2022-03-28 12:18:33 +00:00
Solomon Hykes
860759448d Fix ./ci to be workdir-independent
Signed-off-by: Solomon Hykes <solomon@dagger.io>
2022-03-12 02:09:14 +00:00
Sam Alba
eec7bc0a95 ci: fixed github action
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 18:14:01 -08:00
Sam Alba
637a3c9efd ci: ported config to new client API
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
646a4d153d ci: implemented go test
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
029a0d270f ci: simplify code and reduce boiler plate + fixed caching
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
555966d040 ci: explicit dependency between goBuild and goLint
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
492a7ff9c3 ci: fix cue linter
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
ba0f565dbf ci: fixed output + implemented cue linter
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
297fded56d ci: ported to new Plan syntax + implemented CUE fmt + go linter + code cleanup
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
2a9cf1ce7c ci: fixed performance issues, converted more fields to hidden
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
8e2f3eb21d ci: cleaner pattern for sharing base images across actions
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
f17c470feb ci: implemented go lint
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
679bb30148 ci: fixed typos + params for os/arch
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
7ecf0a97ad ci: base implementation for building dagger binary
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00
Sam Alba
e2670298ff ci: added README
Signed-off-by: Sam Alba <samalba@users.noreply.github.com>
2022-03-09 17:30:44 -08:00