Skip to content

Commit

Permalink
Merge pull request #47 from SwiftPackageIndex/ci-update
Browse files Browse the repository at this point in the history
Updates to CI and dependabot config
  • Loading branch information
daveverwer authored Jul 22, 2024
2 parents 218e439 + a5be3fb commit 3771f52
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "swift"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
16 changes: 12 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ jobs:
os: [macos-12, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: swift build --disable-automatic-resolution -c release
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v2
- name: Echo Swift version
run: swift --version
- name: Check a Release build
run: swift build --disable-automatic-resolution -c release

test:
strategy:
Expand All @@ -23,5 +27,9 @@ jobs:
os: [macos-12, ubuntu-20.04]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- run: swift test --disable-automatic-resolution
- uses: actions/checkout@v4
- uses: fwal/setup-swift@v2
- name: Echo Swift version
run: swift --version
- name: Test
run: swift test --disable-automatic-resolution

0 comments on commit 3771f52

Please sign in to comment.