diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 34b5375cb..96733ea38 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -27,7 +27,7 @@ jobs: # - https://gh.io/supported-runners-and-hardware-resources # - https://gh.io/using-larger-runners (GitHub.com only) # Consider using larger runners or machines with greater resources for possible analysis time improvements. - runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'windows-latest' }} + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} permissions: # required for all workflows @@ -55,10 +55,6 @@ jobs: # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages steps: - # This is needed for VSIX creation and must be run on Windows - - name: Install VS2019 build tools - run: choco install visualstudio2019buildtools - - name: Checkout repository uses: actions/checkout@v4 diff --git a/Moq.Analyzers.sln b/Moq.Analyzers.sln index 1ab4352ff..9c1effe21 100644 --- a/Moq.Analyzers.sln +++ b/Moq.Analyzers.sln @@ -1,13 +1,11 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.29123.88 +# Visual Studio Version 17 +VisualStudioVersion = 17.10.34928.147 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Moq.Analyzers", "Source\Moq.Analyzers\Moq.Analyzers.csproj", "{41ECC571-F586-460A-9BED-23528C8210C4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moq.Analyzers", "Source\Moq.Analyzers\Moq.Analyzers.csproj", "{41ECC571-F586-460A-9BED-23528C8210C4}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Moq.Analyzers.Test", "Source\Moq.Analyzers.Test\Moq.Analyzers.Test.csproj", "{D2348836-7129-4BE5-8AE6-D05FC8C28FC1}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Moq.Analyzers.Vsix", "Source\Moq.Analyzers.Vsix\Moq.Analyzers.Vsix.csproj", "{6C178A5C-B77B-484D-AD33-38E24B76FF35}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Moq.Analyzers.Test", "Source\Moq.Analyzers.Test\Moq.Analyzers.Test.csproj", "{D2348836-7129-4BE5-8AE6-D05FC8C28FC1}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -23,10 +21,6 @@ Global {D2348836-7129-4BE5-8AE6-D05FC8C28FC1}.Debug|Any CPU.Build.0 = Debug|Any CPU {D2348836-7129-4BE5-8AE6-D05FC8C28FC1}.Release|Any CPU.ActiveCfg = Release|Any CPU {D2348836-7129-4BE5-8AE6-D05FC8C28FC1}.Release|Any CPU.Build.0 = Release|Any CPU - {6C178A5C-B77B-484D-AD33-38E24B76FF35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6C178A5C-B77B-484D-AD33-38E24B76FF35}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6C178A5C-B77B-484D-AD33-38E24B76FF35}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6C178A5C-B77B-484D-AD33-38E24B76FF35}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Source/Moq.Analyzers.Vsix/LICENSE b/Source/Moq.Analyzers.Vsix/LICENSE deleted file mode 100644 index e42a7359b..000000000 --- a/Source/Moq.Analyzers.Vsix/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -BSD 3-Clause License - -Copyright (c) 2017, Andrey Lipatkin -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions are met: - -* Redistributions of source code must retain the above copyright notice, this - list of conditions and the following disclaimer. - -* Redistributions in binary form must reproduce the above copyright notice, - this list of conditions and the following disclaimer in the documentation - and/or other materials provided with the distribution. - -* Neither the name of the copyright holder nor the names of its - contributors may be used to endorse or promote products derived from - this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE -DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE -FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR -SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, -OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/Source/Moq.Analyzers.Vsix/Moq.Analyzers.Vsix.csproj b/Source/Moq.Analyzers.Vsix/Moq.Analyzers.Vsix.csproj deleted file mode 100644 index ee4685259..000000000 --- a/Source/Moq.Analyzers.Vsix/Moq.Analyzers.Vsix.csproj +++ /dev/null @@ -1,101 +0,0 @@ - - - - - 15.0 - $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) - - - 14.0 - - publish\ - true - Disk - false - Foreground - 7 - Days - false - false - true - 0 - 1.0.0.%2a - false - false - true - - - - Debug - AnyCPU - AnyCPU - 2.0 - {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - {6C178A5C-B77B-484D-AD33-38E24B76FF35} - Library - Properties - Moq.Analyzers.Vsix - Moq.Analyzers.Vsix - v4.6 - false - false - false - false - false - false - Roslyn - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - - Program - $(DevEnvDir)devenv.exe - /rootsuffix Roslyn - - - - Always - true - - - Designer - - - - - {41ECC571-F586-460A-9BED-23528C8210C4} - Moq.Analyzers - - - - - False - Microsoft .NET Framework 4.6 %28x86 and x64%29 - true - - - False - .NET Framework 3.5 SP1 - false - - - - - \ No newline at end of file diff --git a/Source/Moq.Analyzers.Vsix/source.extension.vsixmanifest b/Source/Moq.Analyzers.Vsix/source.extension.vsixmanifest deleted file mode 100644 index 06d0d3d91..000000000 --- a/Source/Moq.Analyzers.Vsix/source.extension.vsixmanifest +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Moq.Analyzers - Visual Studio extension that helps to write unit tests using Moq mocking library by highlighting typical errors and suggesting quick fixes. Port of Resharper extension to Roslyn. Find the full list of detected issues at project GitHub page. - https://github.com/Litee/moq.analyzers - LICENSE - moq, mock, test - - - - - - - - - - - - - - - - - -