rearrange env vars for readability #14
Workflow file for this run
This file contains 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: Continuous Integration | ||
Check failure on line 1 in .github/workflows/ci.yaml GitHub Actions / Continuous IntegrationInvalid workflow file
|
||
on: | ||
push: | ||
branches: "**" | ||
pull_request: | ||
tags: | ||
- "**" | ||
jobs: | ||
docker: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
target: ["web", "release", "queues", "scheduled-queues"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Log in to the Container registry | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io/${{ github.repository }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: ./.github/actions/sincere-auth-docker-action | ||
with: | ||
target: ${{ matrix.target }} | ||
mac: | ||
name: Mac ${{ matrix.action }}, Swift ${{ matrix.swift-version }} | ||
runs-on: macos-latest | ||
strategy: | ||
matrix: | ||
swift-version: ["5.9", "5.10"] | ||
action: ["build", "test"] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- id: setup-postgres | ||
uses: ./.github/actions/setup-postgres-on-mac | ||
- uses: shogo82148/actions-setup-redis@v1 | ||
- uses: ./.github/actions/sincere-auth-build-action | ||
with: | ||
swift-version: ${{ matrix.swift-version }} | ||
action: ${{ matrix.action }} | ||
database-url: ${{ steps.setup-postgres.outputs.database-url }} | ||
ubuntu: | ||
name: Ubuntu ${{ matrix.action }}, Swift ${{ matrix.swift-version }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
swift-version: ["5.9", "5.10"] | ||
action: ["build", "test"] | ||
services: | ||
redis: | ||
image: redis:latest | ||
ports: [6379:6379] | ||
postgres: | ||
image: postgres:latest | ||
env: | ||
POSTGRES_DB: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_USER: postgres | ||
ports: [5432:5432] | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/sincere-auth-build-action | ||
with: | ||
swift-version: ${{ matrix.swift-version }} | ||
action: ${{ matrix.action }} | ||
database-url: "postgresql://postgres:postgres@localhost/postgres" | ||
env: | ||
DB_SYMMETRIC_KEY: "9/Vk5Rlzctc5tyX0SCmIJaRzEg+QgwWjlTzD0LMPqNY=" | ||
REDIS_URL: "redis://127.0.0.1:6379" | ||
SELF_ISSUER_ID: "com.fullqueuedeveloper.FQAuth" | ||
APPLE_APP_ID: "com.fullqueuedeveloper.FQAuth" | ||
APPLE_TEAM_ID: "FQDV1234" | ||
APPLE_SERVICES_KEY_ID: "com.fullqueuedeveloper.FQAuthServer.AppleServicesKeyID" | ||
APPLE_SERVICES_KEY: "LS0tLS1CRUdJTiBFQyBQQVJBTUVURVJTLS0tLS0KQmdVcmdRUUFJdz09Ci0tLS0tRU5EIEVDIFBBUkFNRVRFUlMtLS0tLQotLS0tLUJFR0lOIEVDIFBSSVZBVEUgS0VZLS0tLS0KTUlIY0FnRUJCRUlCdXRBYnNFUjY1bVFnby9iKzJYcTVsaDZQTDhuRTJSRjZ0WjFDdWNmdW5UaWtyNDFwL3JhZwpYaXd6MTJVOWxoY211Y2wrWDh5MkVacUowQ0FXS0VhTHluYWdCd1lGSzRFRUFDT2hnWWtEZ1lZQUJBQm92SWc2CkNRREdkcjMxNlR6bEJXRG56SHIvWDVoSnVzbnpSY0E2WUpUS1RVMll2bXdCaHVGUFBiNit1MUttaUdkTnQ2N1EKTU16RjMxYjY0L0gwS3prQ1BnRVZicklMVkthNDlUbTdNQU1WT3dsUUxaVHBIck8xMVk2bVd5eERydEFCSXNDTApqNnBRMFhGNlZiNWNOT3RWL1BpMC9lcTIxY3UwV3h5aDNHODY2TlQ0T1E9PQotLS0tLUVORCBFQyBQUklWQVRFIEtFWS0tLS0tCg==" | ||
AUTH_PRIVATE_KEY: "LS0tLS1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