Compare commits

...

26 Commits

Author SHA1 Message Date
renovate[bot] 5a7e7f6f2c
Update dependency ordo-one/package-benchmark to from: "1.29.2" (#96)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 23:36:49 +01:00
renovate[bot] f4171fe60b
Update compnerd/gha-setup-swift action to v0.3.0 (#101)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 23:28:29 +01:00
Christian Treffs a834762450
Update WASM CI 2025-03-07 23:21:41 +01:00
Christian Treffs 2a81e3f700
Update CI 2025-03-07 23:17:11 +01:00
Christian Treffs 95a68d3be5
Refine renovate.json 2025-03-07 23:05:01 +01:00
Christian Treffs bdf02b7764
Update CI 2025-03-07 22:55:09 +01:00
Christian Treffs b1e8c310c5
Update 2025-03-07 22:50:17 +01:00
Christian Treffs fe373e2c3f
Update renovate.json 2025-03-07 22:41:11 +01:00
Christian Treffs 8a1e19dc11
Update renovate.json 2025-03-07 22:33:20 +01:00
Christian Treffs a77d5eb257
Update renovate.json 2025-03-07 22:25:02 +01:00
Christian Treffs f69d47a87e
Refine customManager 2025-03-07 22:12:37 +01:00
Christian Treffs 616d9979e0
Move to customManagers 2025-03-07 22:05:32 +01:00
Christian Treffs 1b8039809d
Renovate swift-tools-version 2025-03-07 21:56:43 +01:00
Christian Treffs 36c2df79e4
Make versions explicit 2025-03-07 21:50:04 +01:00
renovate[bot] 77719f1bde
Update GitHub Actions non-major dependencies (#98)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 21:39:01 +01:00
Christian Treffs 102e97cc9a
Update renovate.json 2025-03-07 19:08:41 +01:00
Christian Treffs 2aee784f51
Update renovate.json 2025-03-07 19:06:06 +01:00
Christian Treffs c56a9f7155
Update renovate.json 2025-03-07 19:00:04 +01:00
Christian Treffs 240688a4e2
Update renovate.json 2025-03-07 18:41:56 +01:00
renovate[bot] 713d0fa3b3
Migrate config renovate.json (#93)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-07 18:23:38 +01:00
Christian Treffs e70179b362
Update renovate 2025-03-07 18:19:19 +01:00
Christian Treffs 58377bcfbc
Update renovate.json (#90) 2025-03-07 17:51:54 +01:00
Christian Treffs bcee9db3de
Maintenance (#83)
* Update JamesIves/github-pages-deploy-action action to v4.6.9

* Update codecov/codecov-action action to v5

* Update dependency nicklockwood/SwiftFormat to v0.55.0

* Migrate codecov

* Update macOS matrix

* Update macOS job strategy matrix

* Rename jobs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-17 12:37:25 +01:00
Christian Treffs 2403d96e90
Fix documentation workflow 2024-11-01 10:12:54 +01:00
Christian Treffs ece8921cfe
Fix workflow 2024-11-01 10:10:09 +01:00
Christian Treffs 693acdc032
Update doc workflow 2024-11-01 10:08:44 +01:00
9 changed files with 131 additions and 41 deletions

View File

@ -7,7 +7,7 @@ on:
branches: [ master ]
jobs:
linux-test-build-release:
linux:
runs-on: ubuntu-latest
strategy:
matrix:
@ -23,7 +23,7 @@ jobs:
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: test-artifacts-linux-${{ matrix.swift }}-${{ github.run_id }}
path: |

View File

@ -9,32 +9,34 @@ on:
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
CODECOV_XCODE_VERSION: "15.4" # Xcode version used to generate code coverage
CODECOV_XCODE_VERSION: "16.0" # Xcode version used to generate code coverage
jobs:
macos-test-build-release-xcode:
runs-on: macOS-latest
macos:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: true
matrix:
xcode: ["14.3.1", "15.4", "16.0"]
config:
- { os: "macos-14", xcode: "15.4" }
- { os: "macos-15", xcode: "16.0" }
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Select Xcode ${{ matrix.config.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.config.xcode }}.app
- name: Test
run: swift test -c release --parallel --xunit-output .build/xUnit-output.xml --enable-code-coverage
env:
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.xcode }}.app/Contents/Developer
DEVELOPER_DIR: /Applications/Xcode_${{ matrix.config.xcode }}.app/Contents/Developer
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: test-artifacts-${{ matrix.xcode }}-${{ github.run_id }}
name: test-artifacts-${{ matrix.config.xcode }}-${{ github.run_id }}
path: |
.build/*.yaml
.build/*.xml
@ -48,13 +50,13 @@ jobs:
# Only run coverage steps if the CODECOV_TOKEN is available and the matrix.xcode matches CODECOV_XCODE_VERSION
- name: Generate coverage report
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
run: xcrun llvm-cov export -format="lcov" .build/**/*PackageTests.xctest/Contents/MacOS/*PackageTests -instr-profile .build/**/codecov/default.profdata > coverage.lcov
- name: Upload code coverage report
if: env.CODECOV_TOKEN != '' && matrix.xcode == env.CODECOV_XCODE_VERSION
uses: codecov/codecov-action@v4.6.0
if: env.CODECOV_TOKEN != '' && matrix.config.xcode == env.CODECOV_XCODE_VERSION
uses: codecov/codecov-action@v5.4.0
with:
token: ${{ env.CODECOV_TOKEN }}
file: coverage.lcov
files: coverage.lcov
fail_ci_if_error: true

View File

@ -7,11 +7,10 @@ on:
branches: [ master ]
jobs:
wasm-build:
wasm:
runs-on: ubuntu-latest
container: swift:6.0.3
steps:
- uses: actions/checkout@v4
- name: Build
uses: swiftwasm/swiftwasm-action@v5.9
with:
shell-action: swift build --triple wasm32-unknown-wasi
- uses: swiftwasm/setup-swiftwasm@v2
- run: swift build --swift-sdk wasm32-unknown-wasi

View File

@ -6,12 +6,20 @@ on:
pull_request:
branches: [ master ]
defaults:
run: # Use powershell because bash is not supported: https://github.com/compnerd/gha-setup-swift/issues/18#issuecomment-1705524890
shell: pwsh
jobs:
windows-test-build-release:
runs-on: windows-latest
windows:
runs-on: windows-2019 # Windows SDK lower than 10.0.26100 is needed until https://github.com/swiftlang/swift/pull/79751 released!
steps:
- name: Setup VS Dev Environment
uses: seanmiddleditch/gha-setup-vsdevenv@v5
- name: Setup
uses: compnerd/gha-setup-swift@v0.2.3
uses: compnerd/gha-setup-swift@v0.3.0
with:
branch: swift-5.10-release
tag: 5.10-RELEASE
@ -24,7 +32,7 @@ jobs:
- name: Upload test artifacts
if: failure()
uses: actions/upload-artifact@v4.4.3
uses: actions/upload-artifact@v4
with:
name: test-artifacts-windows-${{ github.run_id }}
path: |

View File

@ -16,8 +16,8 @@ concurrency:
cancel-in-progress: true
jobs:
build:
runs-on: macos-14
documentation:
runs-on: macos-15
steps:
- name: Select Xcode 16.0
run: sudo xcode-select -s /Applications/Xcode_16.0.app
@ -37,9 +37,9 @@ jobs:
run: >
rm -rf docs/.git;
rm -rf docs/master;
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | tail -n +6 | xargs -I {} rm -rf {};
git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | tail -n +6 | xargs -I {} rm -rf {};
for tag in $(echo "master"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.0" | head -6);
for tag in $(echo "master"; git tag -l --sort=-v:refname | grep -e "\d\+\.\d\+.*" | head -6);
do
if [ -d "docs/$tag/data/documentation/firebladeecs" ]
then
@ -69,7 +69,7 @@ jobs:
run: 'sudo chown -R $USER docs'
- name: Publish documentation to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.6.8
uses: JamesIves/github-pages-deploy-action@v4.7.3
with:
branch: gh-pages
folder: docs

View File

@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v4
- name: markdown-link-check
uses: gaurav-nelson/github-action-markdown-link-check@master
uses: gaurav-nelson/github-action-markdown-link-check@1.0.16

View File

@ -10,7 +10,7 @@ let package = Package(
],
dependencies: [
.package(path: "../"),
.package(url: "https://github.com/ordo-one/package-benchmark", .upToNextMajor(from: "1.27.3"))
.package(url: "https://github.com/ordo-one/package-benchmark", .upToNextMajor(from: "1.29.2"))
],
targets: [
.executableTarget(

View File

@ -1,3 +1,3 @@
realm/SwiftLint@0.57.0
nicklockwood/SwiftFormat@0.54.6
nicklockwood/SwiftFormat@0.55.0
krzysztofzablocki/Sourcery@2.2.5

View File

@ -1,13 +1,94 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"extends": [
"config:recommended",
":combinePatchMinorReleases",
":rebaseStalePrs",
":renovatePrefix",
"customManagers:githubActionsVersions"
],
"prConcurrentLimit": 5,
"prHourlyLimit": 1,
"recreateWhen": "auto",
"prCreation": "not-pending",
"packageRules": [
{
"description": "Accumulate non-major updates into one pull request",
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": ">=1",
"groupName": "all non-major dependencies",
"groupSlug": "all-minor-patch"
"groupName": "Swift non-major dependencies",
"description": "Group all Swift package minor and patch updates together",
"matchManagers": [
"swift"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"labels": [
"dependencies",
"renovate",
"swift"
]
},
{
"groupName": "GitHub Actions non-major dependencies",
"description": "Group all GitHub Actions minor and patch updates together",
"matchManagers": [
"github-actions"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"labels": [
"dependencies",
"renovate",
"ci"
]
},
{
"groupName": "Mint non-major dependencies",
"description": "Group all Mint package minor and patch updates together",
"matchManagers": [
"mint"
],
"matchUpdateTypes": [
"minor",
"patch"
],
"labels": [
"dependencies",
"renovate",
"mint"
]
}
],
"customManagers": [
{
"customType": "regex",
"description": "Update swift-tools-version in Package.swift",
"fileMatch": [
"Package\\.swift"
],
"matchStrings": [
"^\/\/(\\s)?swift-tools-version:[\\s]?(?<currentValue>[0-9.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "swiftlang/swift",
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
},
{
"customType": "regex",
"description": "Update .swift-version",
"fileMatch": ".swift-version",
"matchStrings": [
"(?<currentValue>[0-9.]+)"
],
"datasourceTemplate": "github-releases",
"depNameTemplate": "swiftlang/swift",
"extractVersionTemplate": "^swift-(?<version>.*)-RELEASE$"
}
],
"labels": [
"dependencies",
"renovate"
]
}
}