Skip to content

Commit

Permalink
Use Ubuntu runner for check-quality and build-documentation jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 29, 2024
1 parent 861585e commit 6ed2bae
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
50 changes: 25 additions & 25 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,38 @@ name: Pull Request
on: push # yamllint disable-line rule:truthy

jobs:
# check-quality:
# name: "🔎 Check quality"
# runs-on: macos-latest
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
check-quality:
name: "🔎 Check quality"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the quality check
run: make check-quality

build-documentation:
name: "📚 Build documentation"
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

# - name: Run the quality check
# run: make check-quality
- name: Build the documentation
run: make doc

# build-documentation:
# name: "📚 Build documentation"
# tests:

Check warning on line 27 in .github/workflows/pull-request.yml

View workflow job for this annotation

GitHub Actions / 🔎 Check quality

27:3 [comments-indentation] comment not indented like content
# name: "🧪 Tests"
# runs-on: macos-latest
# strategy:
# matrix:
# platform: [ios, tvos]
# steps:
# - name: Checkout code
# uses: actions/checkout@v4

# - name: Build the documentation
# run: make doc

tests:
name: "🧪 Tests"
runs-on: macos-latest
strategy:
matrix:
platform: [ios, tvos]
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run tests
run: make test-${{ matrix.platform }}
# - name: Run tests
# run: make test-${{ matrix.platform }}

# archive-demos:
# name: "📦 Archives"
Expand Down
2 changes: 1 addition & 1 deletion Scripts/check-quality.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

set -e
set -x

eval "$(pkgx --shellcode)"
env +swiftlint +rubocop +shellcheck +markdownlint +yamllint
Expand Down

0 comments on commit 6ed2bae

Please sign in to comment.