Skip to content

Commit 724f869

Browse files
authored
ci: Update various github action versions (#84)
1 parent 5705170 commit 724f869

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

.github/actions/ci/action.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ inputs:
1010
ios-sim:
1111
description: 'iOS Simulator to use for testing'
1212
required: true
13+
token:
14+
description: 'Token to use for publishing.'
15+
required: true
1316

1417
runs:
1518
using: composite

.github/actions/publish-docs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ inputs:
88
runs:
99
using: composite
1010
steps:
11-
- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.1
11+
- uses: launchdarkly/gh-actions/actions/publish-pages@publish-pages-v1.0.2
1212
name: 'Publish to GitHub pages'
1313
with:
1414
docs_path: docs

.github/workflows/ci.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
runs-on: ${{ matrix.os }}
1515

1616
strategy:
17+
fail-fast: false
1718
matrix:
1819
include:
1920
- xcode-version: 15.0.1
@@ -35,29 +36,25 @@ jobs:
3536
with:
3637
xcode-version: ${{ matrix.xcode-version }}
3738
ios-sim: ${{ matrix.ios-sim }}
39+
token: ${{ secrets.GITHUB_TOKEN }}
3840

3941
- uses: ./.github/actions/build-docs
4042

4143
linux-build:
4244
runs-on: ubuntu-latest
4345

4446
strategy:
47+
fail-fast: false
4548
matrix:
4649
swift-version:
47-
- 5.1
48-
- 5.2
49-
- 5.3
50-
- 5.4
51-
- 5.5
52-
- 5.6
5350
- 5.7
5451
- 5.8
5552
- 5.9
5653

5754
container: swift:${{ matrix.swift-version }}
5855

5956
steps:
60-
- uses: actions/checkout@v3
57+
- uses: actions/checkout@v4
6158
with:
6259
fetch-depth: 0 # If you only need the current version keep this.
6360

@@ -68,7 +65,7 @@ jobs:
6865
name: Windows - Swift 5.9
6966
runs-on: windows-latest
7067
steps:
71-
- uses: actions/checkout@v3
68+
- uses: actions/checkout@v4
7269
- name: Install Swift
7370
uses: compnerd/gha-setup-swift@cd348eb89f2f450b0664c07fb1cb66880addf17d
7471
with:

.github/workflows/manual-publish-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
with:
1919
xcode-version: 14.3.1
2020
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
21+
token: ${{ secrets.GITHUB_TOKEN }}
2122

2223
- uses: ./.github/actions/build-docs
2324

.github/workflows/manual-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121

22-
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.0
22+
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
2323
name: 'Get Cocoapods token'
2424
with:
2525
aws_assume_role: ${{ vars.AWS_ROLE_ARN }}
@@ -29,6 +29,7 @@ jobs:
2929
with:
3030
xcode-version: 14.3.1
3131
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
32+
token: ${{ secrets.GITHUB_TOKEN }}
3233

3334
- uses: ./.github/actions/publish
3435
with:

.github/workflows/release-please.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ jobs:
1515
pull-requests: write
1616

1717
steps:
18-
- uses: google-github-actions/release-please-action@v4
18+
- uses: googleapis/release-please-action@v4
1919
id: release
2020
with:
21-
token: ${{ secrets.GITHUB_TOKEN }}
2221
target-branch: ${{ github.ref_name }}
2322

2423
- uses: actions/checkout@v4
@@ -36,7 +35,7 @@ jobs:
3635
#
3736
# These remaining steps are ONLY run if a release was actually created
3837
#
39-
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.0.0
38+
- uses: launchdarkly/gh-actions/actions/release-secrets@release-secrets-v1.2.0
4039
if: ${{ steps.release.outputs.releases_created == 'true' }}
4140
name: 'Get Cocoapods token'
4241
with:
@@ -48,6 +47,7 @@ jobs:
4847
with:
4948
xcode-version: 14.3.1
5049
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
50+
token: ${{ secrets.GITHUB_TOKEN }}
5151

5252
- uses: ./.github/actions/build-docs
5353
if: ${{ steps.release.outputs.releases_created == 'true' }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ start-contract-test-service-bg:
2121

2222
run-contract-tests:
2323
curl -s https://raw.githubusercontent.com/launchdarkly/sse-contract-tests/main/downloader/run.sh \
24-
| VERSION=v2 PARAMS="-url http://localhost:8000 -debug -stop-service-at-end -skip 'basic parsing/large message in one chunk' -skip 'basic parsing/large message in two chunks'" sh
24+
| VERSION=v1 PARAMS="-url http://localhost:8000 -debug -stop-service-at-end -skip 'basic parsing/large message in one chunk' -skip 'basic parsing/large message in two chunks'" sh
2525

2626
contract-tests: build-contract-tests start-contract-test-service-bg run-contract-tests
2727

0 commit comments

Comments
 (0)