Fixed incorrect span size variable in Ulid.New random source initia…
#128
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "CodeQL Advanced" | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| paths: | |
| - src/** | |
| pull_request: | |
| branches: [ "main" ] | |
| types: [opened, synchronize, reopened] | |
| paths: | |
| - src/** | |
| schedule: | |
| - cron: '20 6 * * 5' | |
| jobs: | |
| analyze: | |
| name: Analyze | |
| runs-on: ubuntu-latest | |
| permissions: | |
| actions: read # Allow GitHub Actions to read workflow files | |
| contents: read # Allow access to repository contents | |
| security-events: write # Allow writing security alerts to the Security tab | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| language: [ 'csharp' ] # Specify the language(s) to analyze | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: | | |
| 10.x | |
| 9.x | |
| 8.x | |
| 7.x | |
| 6.x | |
| 5.x | |
| - name: Initialize CodeQL | |
| uses: github/codeql-action/init@v4 | |
| with: | |
| languages: ${{ matrix.language }} | |
| config-file: ./.github/workflows/codeql/codeql-config.yml | |
| - name: Build the code | |
| run: | | |
| # Restore dependencies and build the C# project | |
| dotnet restore src/ByteAether.Ulid/ByteAether.Ulid.csproj | |
| dotnet build --no-incremental --configuration Release src/ByteAether.Ulid/ByteAether.Ulid.csproj | |
| - name: Perform CodeQL Analysis | |
| uses: github/codeql-action/analyze@v4 | |
| with: | |
| category: "/language:${{matrix.language}}" |