From 8ec3ef1a08807cad1115ae0008f5693899481a76 Mon Sep 17 00:00:00 2001 From: Mikhail Akopov Date: Tue, 5 Nov 2024 19:12:13 +0200 Subject: [PATCH 1/4] Run workflow on macos-15 --- .github/workflows/swift.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 2a0d3be..7325c0c 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -5,7 +5,7 @@ on: [push] jobs: build: - runs-on: macOS-latest + runs-on: macos-15 steps: - uses: actions/checkout@v1 From 40cb343365a851b480d877e4ea59218e8c310dc6 Mon Sep 17 00:00:00 2001 From: Mikhail Akopov Date: Tue, 5 Nov 2024 19:12:49 +0200 Subject: [PATCH 2/4] Use checkout v4 --- .github/workflows/swift.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 7325c0c..b168547 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -8,6 +8,7 @@ jobs: runs-on: macos-15 steps: - - uses: actions/checkout@v1 + - name: Checkout + uses: actions/checkout@v4 - name: Build run: xcodebuild From 7746605fd045e07f452fc2b8ca49f505dfb72603 Mon Sep 17 00:00:00 2001 From: Mikhail Akopov Date: Tue, 5 Nov 2024 19:14:26 +0200 Subject: [PATCH 3/4] Use Xcode 16.0 --- .github/workflows/swift.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index b168547..f58b729 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -10,5 +10,9 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Xcode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: "16.0" - name: Build run: xcodebuild From 2513f93e9b3078c9c6850b0b9f53e4065a4ed32e Mon Sep 17 00:00:00 2001 From: Mikhail Akopov Date: Tue, 5 Nov 2024 19:21:47 +0200 Subject: [PATCH 4/4] Trigger workflow on PRs too --- .github/workflows/swift.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index f58b729..bfc77a0 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -1,6 +1,8 @@ name: Swift -on: [push] +on: + push: + pull_request: jobs: build: