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}

View File

@@ -38,9 +38,9 @@ jobs:
strategy:
matrix:
image:
- 'swift:5.4'
- 'swift:5.5'
- 'swift:5.6'
- 'swift:5.7'
container:
image: ${{ matrix.image }}

View File

@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
image: ['nightly-bionic', 'nightly-focal', 'nightly-centos8', 'nightly-amazonlinux2']
image: ['nightly-bionic', 'nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']
container:
image: swiftlang/swift:${{ matrix.image }}