Files
swiftpm-mustache/.github/workflows/api-breakage.yml
Adam Fowler 6e08bcf4d2 Swift 5.8
2023-04-10 10:21:02 +01:00

23 lines
585 B
YAML

# This will be interesting to see how often AWS break there own APIs
name: API breaking changes
on:
pull_request:
jobs:
linux:
runs-on: ubuntu-latest
container:
image: swift:5.8
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# https://github.com/actions/checkout/issues/766
- name: Mark the workspace as safe
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: API breaking changes
run: |
swift package diagnose-api-breaking-changes origin/${GITHUB_BASE_REF}