Browse Source

Merge pull request #2214 from icsharpcode/christophwille-codeql-action

CodeQL Action
pull/2221/head
Christoph Wille 5 years ago committed by GitHub
parent
commit
1a8df298d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 45
      .github/workflows/codeql-analysis.yml
  2. 2
      DecompilerNuGetDemos.workbook
  3. 8
      ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj
  4. 2
      ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj

45
.github/workflows/codeql-analysis.yml

@ -0,0 +1,45 @@ @@ -0,0 +1,45 @@
name: "CodeQL"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
language: [ 'csharp' ]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# 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@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.x
- name: Install dependencies
run: dotnet restore Frontends.sln
- name: Build
run: dotnet build Frontends.sln --configuration Release --no-restore
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

2
DecompilerNuGetDemos.workbook

@ -6,7 +6,7 @@ platforms: @@ -6,7 +6,7 @@ platforms:
- DotNetCore
packages:
- id: ICSharpCode.Decompiler
version: 6.2.0.6124
version: 7.0.0.6225-preview1
---
Setup: load the references required to work with the decompiler

8
ICSharpCode.Decompiler.Console/ICSharpCode.Decompiler.Console.csproj

@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
<PackAsTool>true</PackAsTool>
<AssemblyName>ilspycmd</AssemblyName>
<ToolCommandName>ilspycmd</ToolCommandName>
<Version>6.2.0.6124</Version>
<Version>7.0.0.6225-preview1</Version>
<Description>Command-line decompiler using the ILSpy decompilation engine</Description>
<Copyright>Copyright 2011-2020 AlphaSierraPapa</Copyright>
<PackageProjectUrl>https://github.com/icsharpcode/ILSpy/</PackageProjectUrl>
@ -16,8 +16,8 @@ @@ -16,8 +16,8 @@
<PackageIcon>ILSpyCmdNuGetPackageIcon.png</PackageIcon>
<RepositoryUrl>https://github.com/icsharpcode/ILSpy/</RepositoryUrl>
<Company />
<AssemblyVersion>6.2.0.0</AssemblyVersion>
<FileVersion>6.2.0.0</FileVersion>
<AssemblyVersion>7.0.0.0</AssemblyVersion>
<FileVersion>7.0.0.0</FileVersion>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Authors>ILSpy Team</Authors>
</PropertyGroup>
@ -44,7 +44,7 @@ @@ -44,7 +44,7 @@
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="ICSharpCode.Decompiler" Version="6.2.0.6124" />
<PackageReference Include="ICSharpCode.Decompiler" Version="7.0.0.6225-preview1" />
</ItemGroup>
<ItemGroup>

2
ICSharpCode.Decompiler.PowerShell/ICSharpCode.Decompiler.PowerShell.csproj

@ -19,7 +19,7 @@ @@ -19,7 +19,7 @@
</ItemGroup>
<ItemGroup Condition="'$(Configuration)' == 'Release'">
<PackageReference Include="ICSharpCode.Decompiler" Version="6.2.0.6124" />
<PackageReference Include="ICSharpCode.Decompiler" Version="7.0.0.6225-preview1" />
</ItemGroup>
<ItemGroup>

Loading…
Cancel
Save