Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
XFox111 committed Nov 28, 2024
1 parent 0aba918 commit bcf83d4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches: [ "main", "next" ]
paths-ignore:
- '**.md'
- 'LICENSE'
Expand All @@ -19,7 +19,7 @@ on:
- '.assets/*'
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
branches: [ "main", "next" ]
paths-ignore:
- '**.md'
- 'LICENSE'
Expand Down Expand Up @@ -66,8 +66,16 @@ jobs:

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# - name: Autobuild
# uses: github/codeql-action/autobuild@v3

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x

- name: Build project
run: dotnet build

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "Build workflow"

on:
push:
branches: [ "main", "next", "net8.0", "net9.0" ]
branches: [ "main", "next" ]
paths-ignore:
- "**.md"
- "LICENSE"
Expand All @@ -12,7 +12,7 @@ on:
- ".devcontainer/*"
- "!.github/workflows/pr-workflow.yml"
pull_request:
branches: [ "main", "next", "net8.0", "net9.0" ]
branches: [ "main", "next" ]
paths-ignore:
- "**.md"
- "LICENSE"
Expand Down

0 comments on commit bcf83d4

Please sign in to comment.