Skip to content

Commit

Permalink
Add codeql workflow and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7878 committed Feb 22, 2024
1 parent c03e89f commit 620aca7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

# - name: Setup .NET Core
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '8.0.x'

# - name: Install GitVersion
# uses: gittools/actions/gitversion/setup@v0
# with:
# versionSpec: '5.x'

# - name: Use GitVersion
# id: gitversion
# uses: gittools/actions/gitversion/execute@v0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down Expand Up @@ -74,3 +88,15 @@ jobs:
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"

# - name: Create version file
# run: |
# echo "Version: ${{ steps.gitversion.outputs.majorMinorPatch }}" > version.txt

# - name: Commit and push
# run: |
# git config --local user.email "[email protected]"
# git config --local user.name "GitHub Action"
# git add version.txt
# git commit -m "Add version file"
# git push

0 comments on commit 620aca7

Please sign in to comment.