File tree Expand file tree Collapse file tree 1 file changed +7
-31
lines changed Expand file tree Collapse file tree 1 file changed +7
-31
lines changed Original file line number Diff line number Diff line change 1
1
name : Build & Test
2
2
3
3
on :
4
- push :
5
- paths-ignore :
6
- - ' README.md'
7
- branches : [ main ]
8
- pull_request :
9
- paths-ignore :
10
- - ' README.md'
11
- branches : [ main ]
4
+ schedule :
5
+ - cron : " 49 4 * * 1"
12
6
workflow_dispatch :
13
7
14
8
jobs :
15
- test-matrix :
16
- if : ${{ !(github.event.pull_request.draft || false) }}
17
- strategy :
18
- fail-fast : false
19
- matrix :
20
- os : [ubuntu-latest, macos-latest]
21
- swift-version : ["6.0", "5.10", "5.9"]
22
- runs-on : ${{ matrix.os }}
23
- steps :
24
- - uses : actions/checkout@v4
25
- - uses : SwiftyLab/setup-swift@latest
26
- with :
27
- swift-version : ${{ matrix.swift-version }}
28
- - name : Get swift version
29
- run : swift --version
30
- - name : Build
31
- run : swift build -v
32
- - name : Test
33
- if : ${{ !(matrix.os == 'ubuntu-latest') }}
34
- run : swift test -v
35
- - name : Test Release
36
- if : ${{ matrix.os == 'ubuntu-latest' }}
37
- run : swift test -c release -Xswiftc -enable-testing
9
+ tests :
10
+ name : Tests
11
+ uses : swift-libp2p/github-workflows/.github/workflows/build+test.yml@main
12
+ with :
13
+ test_in_release_configuration : true
You can’t perform that action at this time.
0 commit comments