Skip to content

feat(class): add list endpoint #29

feat(class): add list endpoint

feat(class): add list endpoint #29

Workflow file for this run

name: "code-ql-go"
on:
push:
paths:
- 'cmd/**'
- 'internal/back/**'
jobs:
analyze:
name: Analyze
runs-on: 'ubuntu-latest'
permissions:
actions: read
contents: read
security-events: write
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Get changed files in the internal/back folder
id: changed-files-specific
uses: tj-actions/changed-files@v36
with:
files: internal/**/*.go
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: github/codeql-action/init@v2
with:
languages: go
- name: Autobuild
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: github/codeql-action/analyze@v2
with:
category: "/language:go"