|
|
@ -4,7 +4,7 @@ name: compliance |
|
|
|
|
|
|
|
|
|
|
|
platform: |
|
|
|
platform: |
|
|
|
os: linux |
|
|
|
os: linux |
|
|
|
arch: arm64 |
|
|
|
arch: amd64 |
|
|
|
|
|
|
|
|
|
|
|
trigger: |
|
|
|
trigger: |
|
|
|
event: |
|
|
|
event: |
|
|
@ -27,7 +27,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: lint-backend |
|
|
|
- name: lint-backend |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env |
|
|
|
image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make lint-backend |
|
|
|
- make lint-backend |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -37,7 +37,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: lint-backend-windows |
|
|
|
- name: lint-backend-windows |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env |
|
|
|
image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make golangci-lint vet |
|
|
|
- make golangci-lint vet |
|
|
|
environment: |
|
|
|
environment: |
|
|
@ -49,7 +49,7 @@ steps: |
|
|
|
|
|
|
|
|
|
|
|
- name: lint-backend-gogit |
|
|
|
- name: lint-backend-gogit |
|
|
|
pull: always |
|
|
|
pull: always |
|
|
|
image: gitea/test_env:linux-arm64 # https://gitea.com/gitea/test-env |
|
|
|
image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- make lint-backend |
|
|
|
- make lint-backend |
|
|
|
environment: |
|
|
|
environment: |
|
|
|