diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b076dc1a..c2fd46b1 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,11 +38,11 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v2 + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -52,8 +52,8 @@ 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@v2 + #- name: Autobuild + # uses: github/codeql-action/autobuild@v3 # â„šī¸ Command-line programs to run using the OS shell. # 📚 https://git.io/JvXDl @@ -65,6 +65,16 @@ jobs: #- run: | # make bootstrap # make release + - name: Setup .NET SDK + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '9.0.x' + + - name: Restore dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Debug --no-restore - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 + uses: github/codeql-action/analyze@v3 diff --git a/.github/workflows/gate.yml b/.github/workflows/gate.yml index 7d8d3082..2cac34d6 100644 --- a/.github/workflows/gate.yml +++ b/.github/workflows/gate.yml @@ -24,6 +24,7 @@ jobs: 3.1.x 6.0.x 8.0.x + 9.0.x - name: Install dependencies run: dotnet restore - name: Build @@ -98,6 +99,7 @@ jobs: dotnet-version: | 6.0.x 8.0.x + 9.0.x - name: Install dependencies run: dotnet restore - name: Build @@ -139,6 +141,7 @@ jobs: dotnet-version: | 6.0.x 8.0.x + 9.0.x - name: Install dependencies run: dotnet restore - name: Build diff --git a/.github/workflows/infer.yml b/.github/workflows/infer.yml index 5782bdc2..8b139041 100644 --- a/.github/workflows/infer.yml +++ b/.github/workflows/infer.yml @@ -18,7 +18,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v2 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: Install dependencies run: dotnet restore - name: Build diff --git a/BitFaster.Caching/Intrinsics.cs b/BitFaster.Caching/Intrinsics.cs index 45908a01..a9104823 100644 --- a/BitFaster.Caching/Intrinsics.cs +++ b/BitFaster.Caching/Intrinsics.cs @@ -2,7 +2,7 @@ using System.Runtime.Intrinsics.X86; #endif -#if NET6_0 +#if NET6_0_OR_GREATER using System.Runtime.Intrinsics.Arm; #endif