mirror of
https://github.com/apple/swift-algorithms
synced 2026-11-22 04:10:39 +00:00
35 lines
973 B
YAML
35 lines
973 B
YAML
name: Pull request
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, reopened, synchronize]
|
|
|
|
jobs:
|
|
validate_format_config:
|
|
name: Validate Format Config
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v4
|
|
- name: Install apt dependencies
|
|
run: sudo apt-get -qq update && sudo apt-get -qq -y install curl
|
|
- name: Compare against swift-mmio swift-format config
|
|
run: |
|
|
curl -sL https://raw.githubusercontent.com/apple/swift-mmio/refs/heads/main/.swift-format -o .swift-format-mmio
|
|
diff .swift-format .swift-format-mmio
|
|
|
|
tests:
|
|
name: Test
|
|
uses: swiftlang/github-workflows/.github/workflows/swift_package_test.yml@main
|
|
with:
|
|
enable_wasm_sdk_build: true
|
|
enable_android_sdk_build: true
|
|
enable_android_sdk_checks: true
|
|
|
|
soundness:
|
|
name: Soundness
|
|
uses: swiftlang/github-workflows/.github/workflows/soundness.yml@main
|