Skip to content

Commit

Permalink
ci: Fix yamllint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
euanh committed Oct 10, 2024
1 parent 14719e8 commit d6a4349
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: PR

on:
pull_request:
types: [opened, reopened, synchronize]
types: [opened, reopened, synchronize]

jobs:
soundness:
Expand Down Expand Up @@ -31,25 +31,25 @@ jobs:
registry:
image: registry:2
ports:
- 5000:5000
- 5000:5000
container:
image: swift:6.0-noble
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: false

- name: Mark the workspace as safe
# https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
- name: Mark the workspace as safe
# https://github.com/actions/checkout/issues/766
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}

- name: Run test job
env:
REGISTRY_HOST: registry
REGISTRY_PORT: 5000
run: |
swift test
- name: Run test job
env:
REGISTRY_HOST: registry
REGISTRY_PORT: 5000
run: |
swift test
swift-6-language-mode:
name: Swift 6 Language Mode
Expand Down
6 changes: 3 additions & 3 deletions .spi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version: 1
builder:
configs:
- documentation_targets:
- containertool
- ContainerImageBuilderPlugin
- documentation_targets:
- containertool

Check failure on line 5 in .spi.yml

View workflow job for this annotation

GitHub Actions / Soundness / Lint YAML

5:7 [indentation] wrong indentation: expected 8 but found 6
- ContainerImageBuilderPlugin

0 comments on commit d6a4349

Please sign in to comment.