Template updates (Swift 5.7)
This commit is contained in:
22
.github/workflows/api-breakage.yml
vendored
Normal file
22
.github/workflows/api-breakage.yml
vendored
Normal 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}
|
||||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -38,9 +38,9 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
image:
|
||||
- 'swift:5.4'
|
||||
- 'swift:5.5'
|
||||
- 'swift:5.6'
|
||||
- 'swift:5.7'
|
||||
|
||||
container:
|
||||
image: ${{ matrix.image }}
|
||||
|
||||
2
.github/workflows/nightly.yml
vendored
2
.github/workflows/nightly.yml
vendored
@@ -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 }}
|
||||
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1,5 +1,5 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
.build/
|
||||
/.swiftpm
|
||||
/.vscode
|
||||
/.devcontainer
|
||||
|
||||
@@ -22,7 +22,7 @@ Please ensure to include the following in your Pull Request
|
||||
- Documentation on how these changes are being tested
|
||||
- Additional tests to show your code working and to ensure future changes don't break your code.
|
||||
|
||||
Remember the requirements for Hummingbird and HummingbirdCore (No Foundation and no new dependencies). If you are submitting a change to one of the other modules which requires a new dependency please consider to make these changes in a separate repository. These concerns can be discussed in a Github Issue.
|
||||
Remember the requirements for Hummingbird and HummingbirdCore (No Foundation and no new dependencies). If you are submitting a large change to a module (or bringing in a new dependency) please consider making these changes in a separate repository. The idea is that Hummingbird/HummingbirdCore are kept as slimline as possible. These concerns can be discussed in a Github Issue.
|
||||
|
||||
Please keep your PRs to a minimal number of changes. If a PR is large try to split it up into smaller PRs. Don't move code around unnecessarily it makes comparing old with new very hard.
|
||||
|
||||
@@ -30,4 +30,4 @@ The main development branch of the repository is `main`.
|
||||
|
||||
### Formatting
|
||||
|
||||
We use Nick Lockwood's SwiftFormat for formatting code. PRs will not be accepted if they haven't be formatted. The current version of SwiftFormat we are using is v0.48.17.
|
||||
We use Nick Lockwood's SwiftFormat for formatting code. PRs will not be accepted if they haven't be formatted. The current version of SwiftFormat we are using is v0.48.17.
|
||||
@@ -1,7 +1,7 @@
|
||||
# ================================
|
||||
# Build image
|
||||
# ================================
|
||||
FROM swift:5.4 as build
|
||||
FROM swift:5.7 as build
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
|
||||
Reference in New Issue
Block a user