-
Notifications
You must be signed in to change notification settings - Fork 1
42 lines (35 loc) · 1.39 KB
/
project-analysis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2022 Adam Chalkley
#
# https://github.com/atc0005/safelinks
#
# Licensed under the MIT License. See LICENSE file in the project root for
# full license information.
name: Project Analysis
on:
pull_request:
# `synchronized` seems to equate to pushing new commits to a linked branch
# (whether force-pushed or not)
types: [opened, synchronize]
# The branches below must be a subset of the branches above
# branches: [master]
jobs:
lint:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Lint
uses: atc0005/shared-project-resources/.github/workflows/lint-project-files.yml@master
vulnerability:
name: Vulnerability
with:
os-dependencies: "make bsdmainutils gcc gcc-multilib gcc-mingw-w64 xz-utils libgl1-mesa-dev xorg-dev"
uses: atc0005/shared-project-resources/.github/workflows/vulnerability-analysis.yml@master
go_mod_validation:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Go Module Validation
uses: atc0005/shared-project-resources/.github/workflows/go-mod-validation.yml@master
dependency_updates:
# Only run this job on non-push events (e.g., pull requests)
if: github.event_name != 'push'
name: Dependency Updates
uses: atc0005/shared-project-resources/.github/workflows/dependency-updates.yml@master