Skip to content

Commit

Permalink
adjusted github CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sliemeobn committed Dec 8, 2024
1 parent 96cf8d4 commit 3cb61ee
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/api-breakage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: API breaking changes

on:
pull_request:

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:latest
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}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
image: ["swift:5.10", "swiftlang/swift:nightly-6.0-jammy"]
image: ["swift:5.10", "swift:6.0"]

container:
image: ${{ matrix.image }}
Expand Down

0 comments on commit 3cb61ee

Please sign in to comment.