a61bd5aa85
- make files non hidden - remove forgejo actions files - simplfy commands - remove useless `setup` step (checkout is done by CI, and clean up is not necessary before the build) Reviewed-on: https://codeberg.org/mvdkleijn/forgejo-sdk/pulls/7 Co-authored-by: qwerty287 <qwerty287@noreply.codeberg.org> Co-committed-by: qwerty287 <qwerty287@noreply.codeberg.org>
24 lines
396 B
YAML
24 lines
396 B
YAML
variables:
|
|
- &golang_image 'golang:1.22'
|
|
|
|
when:
|
|
- event: [push, pull_request, manual]
|
|
|
|
steps:
|
|
- name: vendor
|
|
image: *golang_image
|
|
directory: forgejo
|
|
commands:
|
|
- go mod vendor
|
|
|
|
- name: vet
|
|
image: *golang_image
|
|
depends_on: [vendor]
|
|
commands:
|
|
- make vet
|
|
|
|
- name: lint
|
|
image: *golang_image
|
|
depends_on: [vendor]
|
|
commands:
|
|
- make ci-lint
|