dmyersturnbull/mandos

View on GitHub
.github/workflows/checks.yml

Summary

Maintainability
Test Coverage
# Various static code analysis and checks
# Runs on commit or pull (to any branch)
# and on a schedule (weekly)
name: Static checks
on:
  push:
  pull_request:
  schedule:
    - cron: "0 7 * * 6"
jobs:
  markdown-link-check:
    name: Check Markdown links
    runs-on: ubuntu-20.04
    steps:
      - uses: actions/checkout@master
      - uses: gaurav-nelson/github-action-markdown-link-check@v1
  analyse:
    name: Analyze with CodeQL
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v2
        with:
          fetch-depth: 2
      - name: Initialize CodeQL
        uses: github/codeql-action/init@v1
      - name: Autobuild with CodeQL
        uses: github/codeql-action/autobuild@v1
      - name: Perform CodeQL Analysis
        uses: github/codeql-action/analyze@v1