Bump github.com/apple/swift-docc-plugin from 1.4.2 to 1.4.3 #174
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
variables: | |
outputs: | |
max-supported-swift-version: '5.10' | |
xcode-scheme: simple-formatting | |
xcode-platform-version: latest | |
fail-if-codecov-fails: true | |
runs-on: ubuntu-latest | |
steps: | |
- run: exit 0 | |
test-spm: | |
needs: variables | |
strategy: | |
matrix: | |
os: [ macOS, ubuntu ] | |
swift-version-offset: [ 0, 1 ] | |
uses: sersoft-gmbh/oss-common-actions/.github/workflows/swift-test-spm.yml@main | |
with: | |
os: ${{ matrix.os }} | |
max-swift-version: ${{ needs.variables.outputs.max-supported-swift-version }} | |
swift-version-offset: ${{ matrix.swift-version-offset }} | |
# This is a workaround since Swift ships ICU headers that aren't aligned with the installed ICU package. | |
container-before-run: apt-get update -qq && apt-get -q install -y --reinstall libicu-dev | |
fail-if-codecov-fails: ${{ fromJson(needs.variables.outputs.fail-if-codecov-fails) }} | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
test-xcode: | |
needs: variables | |
strategy: | |
matrix: | |
platform: | |
- macOS | |
# - iOS | |
# - iPadOS | |
# - tvOS | |
# - watchOS | |
swift-version-offset: [ 0, 1 ] | |
uses: sersoft-gmbh/oss-common-actions/.github/workflows/swift-test-xcode.yml@main | |
with: | |
xcode-scheme: ${{ needs.variables.outputs.xcode-scheme }} | |
max-swift-version: ${{ needs.variables.outputs.max-supported-swift-version }} | |
swift-version-offset: ${{ matrix.swift-version-offset }} | |
platform: ${{ matrix.platform }} | |
platform-version: ${{ needs.variables.outputs.xcode-platform-version }} | |
fail-if-codecov-fails: ${{ fromJson(needs.variables.outputs.fail-if-codecov-fails) }} | |
secrets: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} |