mirror of
https://github.com/kubevela/kubevela.git
synced 2026-03-02 17:50:58 +00:00
* Fix: pin dependencies to hash remove useless action and makefile steps Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> * reinstall golangci-lint with certain version Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> * rollback setup node Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com> Signed-off-by: Qiaozp <qiaozhongpei.qzp@alibaba-inc.com>
38 lines
977 B
YAML
38 lines
977 B
YAML
name: "CodeQL"
|
|
|
|
on:
|
|
push:
|
|
branches: [ master, release-* ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
actions: read # for github/codeql-action/init to get workflow details
|
|
security-events: write # for github/codeql-action/autobuild to send a status report
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: [ 'go' ]
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
|