mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-19 09:24:04 -08:00
36 lines
761 B
YAML
36 lines
761 B
YAML
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'README.md'
|
|
- 'CONTRIBUTING.md'
|
|
- 'COPYING'
|
|
- 'docs/**'
|
|
- '.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@v2
|
|
with:
|
|
go-version: 1.17
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@v1
|
|
with:
|
|
languages: go
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@v1
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@v1
|