Skip to content

Commit 397a9cb

Browse files
authored
feat(major): [sc-29118] Update Frostflake (#71)
1 parent 061a0d1 commit 397a9cb

29 files changed

+340
-329
lines changed

.github/actions/consul-start/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ runs:
1111
shell: bash
1212
run: |
1313
consul agent -dev -log-level=warn &
14+

.github/dependabot.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/workflows/swift"
5+
schedule:
6+
# Check for updates to GitHub Actions every week
7+
interval: "weekly"

.github/workflows/lint-pr.yaml

Lines changed: 11 additions & 11 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.
65-
wip: true
65+
wip: true

.github/workflows/semantic-release.yml

Lines changed: 6 additions & 6 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,15 +52,15 @@ 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:
6565
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66-
run: npx semantic-release
66+
run: npx semantic-release

.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: 3 additions & 3 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
@@ -33,4 +33,4 @@ jobs:
3333
run: swift package diagnose-api-breaking-changes origin/main --targets ${{ env.spmlibrarytarget }}
3434
- name: Analyze API breakage
3535
if: ${{ env.spmlibrarytarget }}
36-
run: swift package diagnose-api-breaking-changes origin/main --targets ${{ env.spmlibrarytarget }}
36+
run: swift package diagnose-api-breaking-changes origin/main --targets ${{ env.spmlibrarytarget }}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: [ubuntu-24.04]
1212
timeout-minutes: 60
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v6
1515

1616
- name: Ubuntu deps
1717
if: ${{ runner.os == 'Linux' }}
1818
run: |
1919
sudo apt-get install -y libjemalloc-dev
2020
21-
- uses: swift-actions/setup-swift@next
21+
- uses: swift-actions/setup-swift@v2
2222
with:
2323
swift-version: "6"
2424

@@ -46,8 +46,8 @@ jobs:
4646
fi
4747
4848
- name: Upload codecov
49-
uses: codecov/codecov-action@v4
50-
with:
49+
uses: codecov/codecov-action@v5
50+
with:
5151
token: ${{ secrets.CODECOV_REPO_TOKEN }}
5252
files: info.lcov
53-
fail_ci_if_error: true
53+
fail_ci_if_error: true

.github/workflows/swift-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ 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:
20-
args: --strict
20+
args: --strict

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ jobs:
1414
fail-fast: false
1515
matrix:
1616
os: [ubuntu-latest]
17-
# swift: [ "5.10", "6.0" ]
1817

1918
runs-on: ${{ matrix.os }}
2019

@@ -24,7 +23,7 @@ jobs:
2423
with:
2524
swift-version: ${{ matrix.swift }}
2625

27-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v6
2827

2928
- name: Start consul
3029
uses: ./.github/actions/consul-start
@@ -43,5 +42,5 @@ jobs:
4342
- name: Run tests
4443
run: |
4544
if [ -d Tests ]; then
46-
swift test --parallel
47-
fi
45+
swift test
46+
fi

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,19 +6,18 @@ 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]
17-
# swift: [ "5.10", "6.0" ]
16+
os: [macos-26]
1817

1918
runs-on: ${{ matrix.os }}
2019
env:
21-
DEVELOPER_DIR: /Applications/Xcode_16.4.app/Contents/Developer
20+
DEVELOPER_DIR: /Applications/Xcode_26.2.app/Contents/Developer
2221

2322
steps:
2423
- uses: swift-actions/setup-swift@v2
@@ -33,7 +32,7 @@ jobs:
3332
echo BENCHMARK_DISABLE_JEMALLOC=true >> $GITHUB_ENV
3433
brew install jemalloc
3534
36-
- uses: actions/checkout@v4
35+
- uses: actions/checkout@v6
3736

3837
- name: Start consul
3938
uses: ./.github/actions/consul-start
@@ -49,10 +48,12 @@ jobs:
4948
- name: Run tests
5049
run: |
5150
if [ -d Tests ]; then
52-
swift test --parallel
53-
fi
54-
- name: Run tests (release)
55-
run: |
56-
if [ -d Tests ]; then
57-
swift test -c release --parallel
51+
swift test
5852
fi
53+
# Disable release tests now as there's a bug in Swift Testing with release builds and argument parser
54+
# and executable targets
55+
# - name: Run tests (release)
56+
# run: |
57+
# if [ -d Tests ]; then
58+
# swift test -c release
59+
# fi

0 commit comments

Comments
 (0)