Template updates (Swift 5.7)

This commit is contained in:
Adam Fowler
2022-11-22 14:19:27 +00:00
parent f95e19206e
commit 185004fdce
6 changed files with 28 additions and 6 deletions

22
.github/workflows/api-breakage.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
# 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.7
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}