Skip to content

Update all workflow action dependencies to latest #128

Update all workflow action dependencies to latest

Update all workflow action dependencies to latest #128

# SPDX-License-Identifier: Apache-2.0
# Licensed to the Ed-Fi Alliance under one or more agreements.
# The Ed-Fi Alliance licenses this file to you under the Apache License, Version 2.0.
# See the LICENSE and NOTICES files in the project root for more information.
name: CodeQL Security Scan
on:
pull_request:
branches: [main, ODS-*]
push:
branches: [main, ODS-*]
permissions: read-all
env:
CONFIGURATION: "Release"
jobs:
analyze:
name: Analyze Code
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Initialize CodeQL
uses: github/codeql-action/init@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
languages: 'csharp'
- name: Build
shell: pwsh
run: dotnet build --configuration ${{ env.CONFIGURATION }} ./src/EdFi.Db.Deploy.sln
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0