From daac23609d6f10107bd34611ff272232eab13407 Mon Sep 17 00:00:00 2001 From: Dave Verwer Date: Mon, 22 Jul 2024 12:20:50 +0100 Subject: [PATCH] Updates to CI and dependabot config. --- .github/dependabot.yml | 4 ++++ .github/workflows/ci.yml | 19 +++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8d288ca..fb2c989 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,3 +9,7 @@ updates: directory: "/" schedule: interval: "weekly" + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dd86475..c816880 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,17 +13,24 @@ 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 run-tests: strategy: matrix: - swift-version: [5.6, 5.7, 5.8, 5.9] + swift-version: [5.8, 5.9, 5.10] runs-on: ubuntu-20.04 steps: - - uses: fwal/setup-swift@v1 + - uses: actions/checkout@v4 + - uses: fwal/setup-swift@v2 with: swift-version: ${{ matrix.swift-version }} - - uses: actions/checkout@v2 - - run: swift test + - name: Echo Swift version + run: swift --version + - name: Test + run: swift test