Skip to content

fix: deterministic sorting for releases with same version #54

fix: deterministic sorting for releases with same version

fix: deterministic sorting for releases with same version #54

Workflow file for this run

name: CodeQL
on:
push:
branches:
- main
paths:
- "**/*.swift"
- "Package.swift"
- "Package.resolved"
- "macOSdb.xcodeproj/**"
pull_request:
paths:
- "**/*.swift"
- "Package.swift"
- "Package.resolved"
- "macOSdb.xcodeproj/**"
- ".github/workflows/codeql.yml"
concurrency:
group: "codeql-${{ github.ref }}"
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
defaults:
run:
shell: bash -xeuo pipefail {0}
permissions: {}
jobs:
analyze:
name: Analyze (Swift)
runs-on: macos-latest
permissions:
contents: read
security-events: write # required to upload SARIF results
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Initialize CodeQL
uses: github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
with:
languages: swift
build-mode: manual
- name: Build
run: |
xcodebuild \
-project macOSdb.xcodeproj \
-scheme macOSdb \
-destination 'generic/platform=macOS' \
-configuration Debug \
CODE_SIGN_IDENTITY="" \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGNING_ALLOWED=NO \
build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
with:
category: "/language:swift"