Skip to content

Commit

Permalink
Merge pull request #355 from cryptogarageinc/test/update-codescan
Browse files Browse the repository at this point in the history
test: update OSSAR-Scan dotnet & os version
  • Loading branch information
k-matsuzawa authored Apr 4, 2022
2 parents f93a2dd + d33797d commit ceeefe6
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions .github/workflows/code_scanner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,17 @@ on:
- '**.h'
- '**/code_scanner.yml'
- '**/external_project_local_setting.config'
pull_request:
branches:
- master
- stable_v*
- develop
- features/sprint*

jobs:
analyze-CodeQL:
name: CodeQL
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04

strategy:
fail-fast: false
Expand Down Expand Up @@ -66,7 +72,7 @@ jobs:
OSSAR-Scan:
# OSSAR runs on windows-latest.
# ubuntu-latest and macos-latest support coming soon
runs-on: windows-2019
runs-on: windows-2022

steps:
# Checkout your code repository to scan
Expand All @@ -87,10 +93,11 @@ jobs:
# A version greater than or equal to v3.1.201 of dotnet must be installed on the agent in order to run this action.
# GitHub hosted runners already have a compatible version of dotnet installed and this step may be skipped.
# For self-hosted runners, ensure dotnet version 3.1.201 or later is installed by including this action:
# - name: Install .NET
# uses: actions/setup-dotnet@v1
# with:
# dotnet-version: '3.1.x'

- name: Install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'

# Run open source static analysis tools
- name: Run OSSAR
Expand Down

0 comments on commit ceeefe6

Please sign in to comment.