mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-18 00:44:05 -08:00
7b2e2ff5d2
relates to #3560
36 lines
956 B
YAML
36 lines
956 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@6edd4406fa81c3da01a34fa6f6343087c207a568
|
|
with:
|
|
go-version: 1.20.2
|
|
- name: Checkout code
|
|
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
|
|
- name: Initialize CodeQL
|
|
uses: github/codeql-action/init@32dc499307d133bb5085bae78498c0ac2cf762d5
|
|
with:
|
|
languages: go
|
|
- name: Autobuild
|
|
uses: github/codeql-action/autobuild@32dc499307d133bb5085bae78498c0ac2cf762d5
|
|
- name: Perform CodeQL Analysis
|
|
uses: github/codeql-action/analyze@32dc499307d133bb5085bae78498c0ac2cf762d5
|