Skip to content

Commit

Permalink
Update from hummingbird-project-template 335ead3cc0e9b3feb5abac442f70…
Browse files Browse the repository at this point in the history
…54bb5e35de01
  • Loading branch information
adam-fowler authored Sep 18, 2024
1 parent 04e51dd commit fcf0ae9
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @adam-fowler @Joannis
* @adam-fowler @Joannis @thoven87
2 changes: 1 addition & 1 deletion .github/workflows/api-breakage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:5.10
image: swift:latest
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
timeout-minutes: 15
strategy:
matrix:
image: ["swift:5.9", "swift:5.10", "swiftlang/swift:nightly-6.0-jammy"]
image: ["swift:5.9", "swift:5.10", "swift:6.0"]

services:
redis:
image: redis
Expand All @@ -29,9 +30,6 @@ jobs:

container:
image: ${{ matrix.image }}
env:
REDIS_HOSTNAME: "redis"

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
strategy:
matrix:
image: ['nightly-focal', 'nightly-jammy', 'nightly-amazonlinux2']

services:
redis:
image: redis
Expand All @@ -19,9 +20,6 @@ jobs:

container:
image: swiftlang/swift:${{ matrix.image }}
env:
REDIS_HOSTNAME: "redis"

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/verify-documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Verify Documentation

on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-verifydocs
cancel-in-progress: true

jobs:
linux:
runs-on: ubuntu-latest
timeout-minutes: 15
container:
image: swift:latest
steps:
- name: Install rsync 📚
run: |
apt-get update && apt-get install -y rsync bc
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
path: "package"
- name: Checkout
uses: actions/checkout@v4
with:
repository: "hummingbird-project/hummingbird-docs"
fetch-depth: 0
path: "documentation"
- name: Verify
run: |
cd documentation
swift package edit ${GITHUB_REPOSITORY#*/} --path ../package
./scripts/build-docc.sh -e
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ================================
# Build image
# ================================
FROM swift:5.10 as build
FROM swift:6.0 as build

WORKDIR /build

Expand Down
Empty file modified scripts/validate.sh
100755 → 100644
Empty file.

0 comments on commit fcf0ae9

Please sign in to comment.