feat: adopt new HTTP layer from OpenAPIRuntime and migrate Functions to it #34
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: Security | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
schedule: | |
- cron: '0 0 * * 1' # Weekly on Mondays | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
jobs: | |
codeql: | |
name: CodeQL Analysis | |
runs-on: macos-latest | |
timeout-minutes: 360 | |
strategy: | |
fail-fast: false | |
matrix: | |
language: [ swift ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
queries: +security-and-quality | |
- name: Build Supabase library | |
run: make XCODEBUILD_ARGUMENT=build PLATFORM=MACOS xcodebuild | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{matrix.language}}" | |
dependency-review: | |
name: Dependency Review | |
runs-on: ubuntu-latest | |
if: github.event_name == 'pull_request' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Dependency Review | |
uses: actions/dependency-review-action@v4 | |
with: | |
fail-on-severity: moderate |