aboutsummaryrefslogtreecommitdiffstats
path: root/.drone.yml
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2022-09-11 15:02:18 +0800
committerGitHub <noreply@github.com>2022-09-11 15:02:18 +0800
commit24b5a384d213a50b900acc896c9d34af934f59ac (patch)
tree0d7004dd170e792873ff19272f6ce1b43dab083f /.drone.yml
parent77c916f6d9915784c323bc2dd8d29c17e6bff257 (diff)
downloadgitea-24b5a384d213a50b900acc896c9d34af934f59ac.tar.gz
gitea-24b5a384d213a50b900acc896c9d34af934f59ac.zip
chore(security): Support Go Vulnerability Management (#21139)
See https://go.dev/security/vuln/ Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com> Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index e035f57af9..95d4032413 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -39,6 +39,16 @@ steps:
- make lint-frontend
depends_on: [deps-frontend]
+ - name: security-check
+ image: golang:1.19
+ pull: always
+ commands:
+ - make security-check
+ depends_on: [deps-backend]
+ volumes:
+ - name: deps
+ path: /go
+
- name: lint-backend
image: gitea/test_env:linux-amd64 # https://gitea.com/gitea/test-env
pull: always