mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 17:11:52 +01:00
43 lines
805 B
YAML
43 lines
805 B
YAML
name: "Code Scanning"
|
|
|
|
on:
|
|
push:
|
|
branches: [dev, master]
|
|
pull_request:
|
|
branches: [dev, master]
|
|
|
|
jobs:
|
|
analyze:
|
|
name: Analyze
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
language: ['csharp']
|
|
|
|
steps:
|
|
- name: Install Node 12.X
|
|
uses: actions/setup-node@v1
|
|
with:
|
|
node-version: 12.x
|
|
|
|
- name: Upgrade NPM
|
|
run: npm install -g npm
|
|
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v2
|
|
with:
|
|
fetch-depth: 2
|
|
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: ${{ matrix.language }}
|
|
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|