Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/macOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: macOS

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: ["**"]
Copy link

Copilot AI May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull_request event was dropped in this change. Add back a pull_request: trigger if builds should run on PRs.

Suggested change
branches: ["**"]
branches: ["**"]
pull_request:
branches: ["**"]

Copilot uses AI. Check for mistakes.

jobs:
build:
runs-on: macos-latest

steps:
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 16.0
- uses: actions/checkout@v3
- name: Build
run: swift build -v
Expand Down
22 changes: 13 additions & 9 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: Ubuntu

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: ["**"]
Copy link

Copilot AI May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull_request trigger block was removed, so this workflow won't run on PRs. Consider adding a pull_request: section mirroring the push: filter.

Suggested change
branches: ["**"]
branches: ["**"]
pull_request:
branches: ["**"]

Copilot uses AI. Check for mistakes.

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
- uses: sersoft-gmbh/swifty-linux-action@v3
with:
release-version: 6.0.1
- uses: actions/checkout@v3
- name: Build for release
run: swift build -v -c release
- name: Test
run: swift test -v
8 changes: 3 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,16 @@ name: Windows

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
branches: ["**"]
Copy link

Copilot AI May 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The pull_request trigger was removed from this workflow, so it will no longer run on pull requests. Please re-add a pull_request: section with the intended branch filter.

Suggested change
branches: ["**"]
branches: ["**"]
pull_request:
branches: ["**"]

Copilot uses AI. Check for mistakes.

jobs:
build:
runs-on: windows-latest
steps:
- uses: compnerd/gha-setup-swift@main
with:
branch: swift-5.8-release
tag: 5.8-RELEASE
branch: swift-6.0-release
tag: 6.0-RELEASE

- uses: actions/checkout@v2
- run: swift build
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version: 5.6
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
Loading