File tree Expand file tree Collapse file tree 13 files changed +57
-144
lines changed Expand file tree Collapse file tree 13 files changed +57
-144
lines changed Original file line number Diff line number Diff line change 99 semantic-release :
1010 runs-on : ubuntu-22.04
1111 steps :
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
1313 with :
1414 fetch-depth : 0
1515
@@ -52,14 +52,14 @@ jobs:
5252 failTitle: false" > .releaserc.yml
5353
5454 - name : Setup Node.js
55- uses : actions/setup-node@v3
55+ uses : actions/setup-node@v4
5656 with :
57- node-version : " lts/* "
57+ node-version : ' 20 '
5858
5959 - name : Install semantic-release
6060 run : |
61- npm install semantic-release conventional-changelog-conventionalcommits -D
62-
61+ npm install semantic-release@v24 conventional-changelog-conventionalcommits@v8 -D
62+ npm list
6363 - name : Release
6464 env :
6565 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212 timeout-minutes : 30
1313
1414 steps :
15- - uses : actions/checkout@v3
15+ - uses : actions/checkout@v4
1616 with :
1717 fetch-depth : 0
1818 - name : Ubuntu deps
Original file line number Diff line number Diff line change @@ -11,17 +11,21 @@ jobs:
1111 runs-on : [ubuntu-22.04]
1212 timeout-minutes : 60
1313 steps :
14- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1515
1616 - name : Ubuntu deps
1717 if : ${{ runner.os == 'Linux' }}
1818 run : |
19- sudo apt-get install -y libjemalloc-dev llvm-15
19+ sudo apt-get install -y libjemalloc-dev
20+
21+ - uses : swift-actions/setup-swift@v2
22+
23+ - name : Swift version
24+ run : swift --version
2025
2126 - name : Run tests
2227 continue-on-error : true
23- run : |
24- [ -d Tests ] && swift test --parallel --enable-code-coverage
28+ run : swift test --parallel --enable-code-coverage
2529
2630 - name : Export code coverage
2731 run : |
@@ -32,12 +36,12 @@ jobs:
3236 fi
3337
3438 if [ -f ${xctest_binary} ]; then
35- llvm-cov-15 export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
39+ llvm-cov export -format="lcov" ${xctest_binary} -instr-profile .build/debug/codecov/default.profdata > info.lcov
3640 fi
3741
3842 - name : Upload codecov
39- uses : codecov/codecov-action@v2
43+ uses : codecov/codecov-action@v4
4044 with :
41- token : ${{ secrets.CODECOV_REPO_TOKEN }}
45+ token : ${{ secrets.CODECOV_REPO_TOKEN }}
4246 files : info.lcov
4347 fail_ci_if_error : true
Original file line number Diff line number Diff line change 1313 timeout-minutes : 60
1414 runs-on : [ubuntu-latest]
1515 steps :
16- - uses : actions/checkout@v3
16+ - uses : actions/checkout@v4
1717 - name : GitHub Action for SwiftLint with --strict
1818 uses :
norio-nomura/[email protected] 1919 with :
Original file line number Diff line number Diff line change 1- name : Swift Linux build
1+ name : Linux build
22
33on :
44 workflow_dispatch :
@@ -14,17 +14,17 @@ jobs:
1414 fail-fast : false
1515 matrix :
1616 os : [ubuntu-latest]
17- swift : ["5.7", "5.8"]
18-
17+ # swift: [ "5.10", "6.0" ]
1918
2019 runs-on : ${{ matrix.os }}
2120
2221 steps :
23- 22+ - uses : swift-actions/setup-swift@v2
23+ if : ${{ false }}
2424 with :
2525 swift-version : ${{ matrix.swift }}
2626
27- - uses : actions/checkout@v3
27+ - uses : actions/checkout@v4
2828
2929 - name : Ubuntu deps
3030 if : ${{ runner.os == 'Linux' }}
3838 run : swift build
3939
4040 - name : Run tests
41- run : |
42- [ -d Tests ] && swift test --parallel
41+ run : swift test --parallel
42+
43+ - name : Run tests (release)
44+ run : swift test -c release --parallel
Original file line number Diff line number Diff line change 1- name : Swift macOS build
1+ name : macOS build
22
33on :
44 workflow_dispatch :
55 push :
66 branches : [ main ]
77 pull_request :
88 branches : [ main ]
9-
9+
1010jobs :
1111 build-macos :
1212 timeout-minutes : 60
1313 strategy :
1414 fail-fast : false
1515 matrix :
16- os : [macos-13 ]
17- swift : ["5.7 ", "5.8" ]
16+ os : [macos-15 ]
17+ # swift: [ "5.10 ", "6.0" ]
1818
1919 runs-on : ${{ matrix.os }}
2020
2121 steps :
22- 22+ - uses : swift-actions/setup-swift@v2
23+ if : ${{ false }}
2324 with :
2425 swift-version : ${{ matrix.swift }}
2526
@@ -29,18 +30,22 @@ jobs:
2930 echo "/opt/homebrew/bin:/usr/local/bin" >> $GITHUB_PATH
3031 echo BENCHMARK_DISABLE_JEMALLOC=true >> $GITHUB_ENV
3132 brew install jemalloc
32- - uses : actions/checkout@v3
33+
34+ - uses : actions/checkout@v4
35+
36+ - name : GH auth
37+ run : |
38+ echo "machine api.github.com login ${{ secrets.GITHUB_TOKEN }} password x-oauth-basic" > $HOME/.netrc
39+ cat ~/.netrc
40+
3341 - name : Swift version
3442 run : swift --version
43+
3544 - name : Build
3645 run : swift build
46+
3747 - name : Run tests
38- run : |
39- if [ -d Tests ]; then
40- swift test --parallel
41- fi
48+ run : swift test --parallel
49+
4250 - name : Run tests (release)
43- run : |
44- if [ -d Tests ]; then
45- swift test -c release --parallel
46- fi
51+ run : swift test -c release --parallel
Original file line number Diff line number Diff line change @@ -10,16 +10,16 @@ jobs:
1010 runs-on : [ubuntu-latest]
1111 timeout-minutes : 60
1212 steps :
13- - uses : actions/checkout@v3
13+ - uses : actions/checkout@v4
1414 - name : Check Swift package dependencies
1515 id : spm-dep-check
16- uses : MarcoEidinger/swift-package-dependencies-check@2.3.4
16+ uses : MarcoEidinger/swift-package-dependencies-check@2.5.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@v3
22+ uses : peter-evans/create-pull-request@v7
2323 with :
2424 commit-message : ' chore: update package dependencies'
2525 branch : updatePackageDepedencies
Original file line number Diff line number Diff line change 1212 strategy :
1313 fail-fast : false
1414 matrix :
15- os : [ubuntu-latest ]
15+ os : [macos-15 ]
1616
1717 runs-on : ${{ matrix.os }}
1818 timeout-minutes : 60
2929 run : |
3030 sudo apt-get install -y libjemalloc-dev
3131
32- - uses : actions/checkout@v3
32+ - uses : actions/checkout@v4
3333
3434 - name : Swift version
3535 run : swift --version
4040
4141 - name : Run address sanitizer
4242 run : swift test --sanitize=address
43-
43+
4444 - name : Clean before release build sanitizier
4545 run : swift package clean
46-
46+
4747 - name : Run address sanitizer on release build
4848 run : swift test --sanitize=address -c release -Xswiftc -enable-testing
Original file line number Diff line number Diff line change 3030 sudo apt-get install -y libjemalloc-dev
3131 echo BENCHMARK_DISABLE_JEMALLOC=true >> $GITHUB_ENV
3232
33- - uses : actions/checkout@v3
33+ - uses : actions/checkout@v4
3434
3535 - name : Swift version
3636 run : swift --version
4141
4242 - name : Run thread sanitizer
4343 run : swift test --sanitize=thread
44-
44+
4545 - name : Clean before release build sanitizier
4646 run : swift package clean
47-
47+
4848 - name : Run thread sanitizer on release build
4949 run : swift test --sanitize=thread -c release -Xswiftc -enable-testing
You can’t perform that action at this time.
0 commit comments