mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-17 08:24:04 -08:00
37 lines
998 B
YAML
37 lines
998 B
YAML
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'COPYING'
|
|
- 'website/**'
|
|
- '.github/*.md'
|
|
- '.github/FUNDING.yml'
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
name: Code QL
|
|
jobs:
|
|
code-ql:
|
|
runs-on: ubuntu-latest
|
|
defaults:
|
|
run:
|
|
working-directory: ${{ github.workspace }}/src
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
|
|
with:
|
|
go-version: 1.20.5
|
|
cache-dependency-path: src/go.sum
|
|
- name: Checkout code
|
|
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a
|
|
with:
|
|
languages: go
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@cdcdbb579706841c47f7063dda365e292e5cad7a
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@cdcdbb579706841c47f7063dda365e292e5cad7a
|