Skip to content

Commit 4881513

Browse files
author
ordo-ci
committed
ci: 🔄 synced local '.github/workflows/' with remote 'workflows/swift'
1 parent cdc56fb commit 4881513

11 files changed

Lines changed: 52 additions & 49 deletions

‎.github/workflows/lint-pr.yaml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
timeout-minutes: 30
1616
steps:
17-
- uses: amannn/action-semantic-pull-request@v5
17+
- uses: amannn/action-semantic-pull-request@v6
1818
env:
1919
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2020
with:
@@ -27,19 +27,19 @@ jobs:
2727
style
2828
refactor
2929
perf
30-
test
30+
test
3131
build
32-
ci
33-
chore
34-
revert
32+
ci
33+
chore
34+
revert
3535
# Configure which scopes are allowed.
3636
scopes: |
3737
patch
3838
hotfix
3939
minor
4040
major
4141
# Configure that a scope must always be provided.
42-
requireScope: false
42+
requireScope: false
4343
# Configure which scopes are disallowed in PR titles. For instance by setting
4444
# the value below, `chore(release): ...` and `ci(e2e,release): ...` will be rejected.
4545
disallowScopes: |
@@ -56,10 +56,10 @@ jobs:
5656
ignoreLabels: |
5757
bot
5858
ignore-semantic-pull-request
59-
# For work-in-progress PRs you can typically use draft pull requests
60-
# from GitHub. However, private repositories on the free plan don't have
61-
# this option and therefore this action allows you to opt-in to using the
62-
# special "[WIP]" prefix to indicate this state. This will avoid the
59+
# For work-in-progress PRs you can typically use draft pull requests
60+
# from GitHub. However, private repositories on the free plan don't have
61+
# this option and therefore this action allows you to opt-in to using the
62+
# special "[WIP]" prefix to indicate this state. This will avoid the
6363
# validation of the PR title and the pull request checks remain pending.
6464
# Note that a second check will be reported if this is enabled.
6565
wip: true

‎.github/workflows/semantic-release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77

88
jobs:
99
semantic-release:
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v6
1313
with:
1414
fetch-depth: 0
1515

@@ -52,13 +52,13 @@ jobs:
5252
failTitle: false" > .releaserc.yml
5353
5454
- name: Setup Node.js
55-
uses: actions/setup-node@v4
55+
uses: actions/setup-node@v6
5656
with:
57-
node-version: '20'
57+
node-version: '24'
5858

5959
- name: Install semantic-release
6060
run: |
61-
npm install semantic-release@v24 conventional-changelog-conventionalcommits@v8 -D
61+
npm install semantic-release@v25 conventional-changelog-conventionalcommits@v9 -D
6262
npm list
6363
- name: Release
6464
env:

‎.github/workflows/swift-benchmark-delta.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
pull_request:
66
branches: [ main ]
7-
7+
88
jobs:
99
benchmark-delta:
1010
timeout-minutes: 30
@@ -15,7 +15,7 @@ jobs:
1515
os: [ubuntu-latest]
1616

1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121
- name: Homebrew Mac

‎.github/workflows/swift-check-api-breaks.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010

1111
runs-on: [ubuntu-latest]
1212
timeout-minutes: 30
13-
13+
1414
steps:
15-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0
1818
- name: Ubuntu deps

‎.github/workflows/swift-code-coverage.yml‎

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,16 @@ on:
88
branches: [ main, next ]
99
jobs:
1010
test-code-coverage:
11-
runs-on: [ubuntu-24.04]
11+
runs-on: ubuntu-latest
12+
container:
13+
image: swift:latest
1214
timeout-minutes: 60
1315
steps:
14-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1517

16-
- name: Ubuntu deps
17-
if: ${{ runner.os == 'Linux' }}
18+
- name: Install deps
1819
run: |
19-
sudo apt-get install -y libjemalloc-dev
20-
21-
- uses: swift-actions/setup-swift@next
22-
with:
23-
swift-version: "6"
20+
apt-get update -q && apt-get install -y -q libjemalloc-dev curl
2421
2522
- name: Swift version
2623
run: swift --version
@@ -46,8 +43,8 @@ jobs:
4643
fi
4744
4845
- name: Upload codecov
49-
uses: codecov/codecov-action@v4
50-
with:
46+
uses: codecov/codecov-action@v5
47+
with:
5148
token: ${{ secrets.CODECOV_REPO_TOKEN }}
5249
files: info.lcov
5350
fail_ci_if_error: true

‎.github/workflows/swift-lint.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 60
1414
runs-on: [ubuntu-latest]
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v6
1717
- name: GitHub Action for SwiftLint with --strict
1818
uses: norio-nomura/action-swiftlint@3.2.1
1919
with:

‎.github/workflows/swift-linux-build.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
swift-version: ${{ matrix.swift }}
2626

27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v6
2828

2929
- name: Start consul
3030
uses: ./.github/actions/consul-start

‎.github/workflows/swift-macos-build.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,19 @@ on:
66
branches: [ main ]
77
pull_request:
88
branches: [ main, next ]
9-
9+
1010
jobs:
1111
build-macos:
1212
timeout-minutes: 60
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
os: [macos-15]
16+
os: [macos-26]
1717
# swift: [ "5.10", "6.0" ]
1818

1919
runs-on: ${{ matrix.os }}
2020
env:
21-
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
21+
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
2222

2323
steps:
2424
- uses: swift-actions/setup-swift@v2
@@ -33,7 +33,7 @@ jobs:
3333
echo BENCHMARK_DISABLE_JEMALLOC=true >> $GITHUB_ENV
3434
brew install jemalloc
3535
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v6
3737

3838
- name: Start consul
3939
uses: ./.github/actions/consul-start
@@ -51,7 +51,10 @@ jobs:
5151
if [ -d Tests ]; then
5252
swift test --parallel
5353
fi
54+
# Disable release tests now in package-frostflake as there's a bug in
55+
# Swift Testing with release builds and argument parser and executable targets
5456
- name: Run tests (release)
57+
if: github.repository != 'ordo-one/package-frostflake'
5558
run: |
5659
if [ -d Tests ]; then
5760
swift test -c release --parallel

‎.github/workflows/swift-outdated-dependencies.yml‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
name: Swift outdated dependencies
1+
name: Swift outdated dependencies
22

3-
on:
3+
on:
44
workflow_dispatch:
55
schedule:
66
- cron: '0 8 */100,1-7 * MON' # First Monday of the month
7-
7+
88
jobs:
99
spm-dep-check:
1010
runs-on: [ubuntu-latest]
1111
timeout-minutes: 60
1212
steps:
13-
- uses: actions/checkout@v4
13+
- uses: actions/checkout@v6
1414
- name: Check Swift package dependencies
1515
id: spm-dep-check
16-
uses: MarcoEidinger/swift-package-dependencies-check@2.5.0
16+
uses: MarcoEidinger/swift-package-dependencies-check@2.7.0
1717
with:
1818
isMutating: true
1919
failWhenOutdated: false
2020
- name: Create Pull Request
2121
if: steps.spm-dep-check.outputs.outdatedDependencies == 'true'
22-
uses: peter-evans/create-pull-request@v7
22+
uses: peter-evans/create-pull-request@v8
2323
with:
2424
commit-message: 'chore: update package dependencies'
2525
branch: updatePackageDepedencies

‎.github/workflows/swift-sanitizer-address.yml‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
strategy:
1313
fail-fast: false
1414
matrix:
15-
os: [macos-15]
15+
os: [macos-26]
1616

1717
runs-on: ${{ matrix.os }}
1818
timeout-minutes: 60
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
sudo apt-get install -y libjemalloc-dev
3131
32-
- uses: actions/checkout@v4
32+
- uses: actions/checkout@v6
3333

3434
- name: Start consul
3535
uses: ./.github/actions/consul-start
@@ -43,9 +43,12 @@ jobs:
4343

4444
- name: Run address sanitizer
4545
run: swift test --sanitize=address
46-
46+
4747
- name: Clean before release build sanitizier
4848
run: swift package clean
49-
49+
50+
# Disable release tests now in package-frostflake as there's a bug in
51+
# Swift Testing with release builds and argument parser and executable targets
5052
- name: Run address sanitizer on release build
53+
if: github.repository != 'ordo-one/package-frostflake'
5154
run: swift test --sanitize=address -c release -Xswiftc -enable-testing

0 commit comments

Comments
 (0)