From 6ed2bae4f0baa6b6af4a7ea6e77a673166a8874c Mon Sep 17 00:00:00 2001 From: Walid Kayhal <3347810+waliid@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:10:58 +0100 Subject: [PATCH] Use Ubuntu runner for check-quality and build-documentation jobs --- .github/workflows/pull-request.yml | 50 +++++++++++++++--------------- Scripts/check-quality.sh | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 2d9bc251..9a41903e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -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: + # 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" diff --git a/Scripts/check-quality.sh b/Scripts/check-quality.sh index e31a467b..6af7093b 100755 --- a/Scripts/check-quality.sh +++ b/Scripts/check-quality.sh @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -x eval "$(pkgx --shellcode)" env +swiftlint +rubocop +shellcheck +markdownlint +yamllint