Skip to content

Commit 1683e16

Browse files
authored
Update CI for 5.10. (#9)
* Update CI for 5.10. * Add dependabot configuration.
1 parent 8c41139 commit 1683e16

File tree

5 files changed

+31
-41
lines changed

5 files changed

+31
-41
lines changed

.github/dependabot.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
groups:
8+
dependencies:
9+
patterns:
10+
- "*"
11+
- package-ecosystem: "swift"
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"
15+
open-pull-requests-limit: 6
16+
allow:
17+
- dependency-type: all
18+
groups:
19+
all-dependencies:
20+
patterns:
21+
- "*"

.github/workflows/codeql.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/swift.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,36 @@ name: build
22

33
on:
44
push:
5-
branches: [ smoke-dynamodb-3.x ]
5+
branches: [ main ]
66
pull_request:
7-
branches: [ smoke-dynamodb-3.x ]
7+
branches: [ main ]
88

99
jobs:
1010
LatestVersionBuild:
1111
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
1212
strategy:
1313
matrix:
1414
os: [ubuntu-22.04, ubuntu-20.04]
15-
swift: ["5.8"]
15+
swift: ["5.10"]
1616
runs-on: ${{ matrix.os }}
1717
steps:
18-
- uses: swift-actions/setup-swift@v1.23.0
18+
- uses: swift-actions/setup-swift@v2.0.0
1919
with:
2020
swift-version: ${{ matrix.swift }}
2121
- uses: actions/checkout@v2
2222
- name: Build
23-
run: swift build -c release
23+
run: swift build -c release -Xswiftc -strict-concurrency=complete
2424
- name: Run tests
2525
run: swift test
2626
OlderVersionBuild:
2727
name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
2828
strategy:
2929
matrix:
3030
os: [ubuntu-20.04]
31-
swift: ["5.7.3", "5.6.3"]
31+
swift: ["5.9", "5.8.1"]
3232
runs-on: ${{ matrix.os }}
3333
steps:
34-
- uses: swift-actions/setup-swift@v1.23.0
34+
- uses: swift-actions/setup-swift@v2.0.0
3535
with:
3636
swift-version: ${{ matrix.swift }}
3737
- uses: actions/checkout@v2

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.7
1+
// swift-tools-version:5.8
22

33
//===----------------------------------------------------------------------===//
44
//

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
<img src="https://github.com/swift-server-community/dynamo-db-tables/actions/workflows/swift.yml/badge.svg?branch=main" alt="Build - Main Branch">
44
</a>
55
<a href="http://swift.org">
6-
<img src="https://img.shields.io/badge/swift-5.6|5.7|5.8-orange.svg?style=flat" alt="Swift 5.6, 5.7 and 5.8 Tested">
6+
<img src="https://img.shields.io/badge/swift-5.8|5.9|5.10-orange.svg?style=flat" alt="Swift 5.8, 5.9 and 5.10 Tested">
77
</a>
8-
<img src="https://img.shields.io/badge/ubuntu-18.04|20.04-yellow.svg?style=flat" alt="Ubuntu 18.04 and 20.04 Tested">
9-
<img src="https://img.shields.io/badge/CentOS-8-yellow.svg?style=flat" alt="CentOS 8 Tested">
10-
<img src="https://img.shields.io/badge/AmazonLinux-2-yellow.svg?style=flat" alt="Amazon Linux 2 Tested">
8+
<img src="https://img.shields.io/badge/ubuntu-20.04|22.04-yellow.svg?style=flat" alt="Ubuntu 20.04 and 22.04 Tested">
119
<img src="https://img.shields.io/badge/license-Apache2-blue.svg?style=flat" alt="Apache 2">
1210
</p>
1311

0 commit comments

Comments
 (0)