Skip to content

Static checks

Static checks #11

Workflow file for this run

# SPDX-FileCopyrightText: Copyright 2020-2023, Contributors to science-notebook-template
# SPDX-PackageHomePage: https://github.com/dmyersturnbull/science-notebook-template
# SPDX-License-Identifier: Apache-2.0
# Various static code analysis and checks
# Runs on commit or pull (to any branch)
# and on a schedule (weekly)
name: Static checks
on:
push:
branches: [main]
pull_request:
schedule:
- cron: "0 7 * * 6"
jobs:
markdown-link-check:
name: Check Markdown links
runs-on: ubuntu-22.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@v3
with:
fetch-depth: 2
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
- name: Autobuild with CodeQL
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2