mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-10 13:04:04 -08:00
36 lines
954 B
YAML
36 lines
954 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@268d8c0ca0432bb2cf416faae41297df9d262d7f
|
|
with:
|
|
go-version: 1.18
|
|
- name: Checkout code
|
|
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@9ba4d500aa0261992135290a8c8eff47a4bb2ecb
|
|
with:
|
|
languages: go
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@9ba4d500aa0261992135290a8c8eff47a4bb2ecb
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@9ba4d500aa0261992135290a8c8eff47a4bb2ecb
|