Skip to content

Commit 1780d06

Browse files
committed
Update CI
1 parent 82c25ba commit 1780d06

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ on:
44
push:
55
branches:
66
- main
7-
- 2.x.x
87
paths:
98
- '**.swift'
109
- '**.yml'
1110
pull_request:
12-
branches:
13-
- main
14-
- 2.x.x
1511
workflow_dispatch:
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.ref }}-ci
14+
cancel-in-progress: true
1615

1716
jobs:
1817
linux:
@@ -23,17 +22,15 @@ jobs:
2322
image:
2423
- 'swift:5.9'
2524
- 'swift:5.10'
25+
- 'swift:6.0'
2626
postgres-image:
2727
- 'postgres:16'
2828
- 'postgres:14'
29-
- 'postgres:12'
3029
include:
3130
- postgres-image: postgres:16
3231
postgres-auth: scram-sha-256
3332
- postgres-image: postgres:14
3433
postgres-auth: md5
35-
- postgres-image: postgres:12
36-
postgres-auth: trust
3734
container:
3835
image: ${{ matrix.image }}
3936
volumes: [ 'pgrunshare:/var/run/postgresql' ]
@@ -68,6 +65,7 @@ jobs:
6865
-ignore-filename-regex="\/Benchmarks\/" \
6966
-instr-profile .build/debug/codecov/default.profdata > info.lcov
7067
- name: Upload to codecov.io
71-
uses: codecov/codecov-action@v5
68+
uses: codecov/codecov-action@v4
7269
with:
73-
file: info.lcov
70+
files: info.lcov
71+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)