Files
swiftpm-mustache/.github/workflows/api-breakage.yml
Adam Fowler f029081b61 Project template updates (#25)
* Project template updates

* More changes

* run swiftformat
2024-03-08 12:04:49 +00:00

24 lines
609 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
timeout-minutes: 15
container:
image: swift:5.9
steps:
- name: Checkout
uses: actions/checkout@v4
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}