gha: remove trailing spaces (#31872)

remove trailing spaces
pull/31974/head
Justin Newberry 1 year ago committed by GitHub
parent 4dd5fd4619
commit c1d0d35f8b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/auto-cache/action.yaml
  2. 14
      .github/workflows/selfdrive_tests.yaml
  3. 2
      .github/workflows/setup-pre-commit/action.yaml

@ -19,7 +19,7 @@ runs:
using: "composite" using: "composite"
steps: steps:
- name: setup namespace cache - name: setup namespace cache
if: ${{ contains(runner.name, 'nsc') }} if: ${{ contains(runner.name, 'nsc') }}
uses: namespacelabs/nscloud-cache-action@v1 uses: namespacelabs/nscloud-cache-action@v1
with: with:
path: ${{ inputs.path }} path: ${{ inputs.path }}

@ -69,7 +69,7 @@ jobs:
matrix: matrix:
arch: ${{ fromJson( arch: ${{ fromJson(
((github.repository == 'commaai/openpilot') && ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && '["x86_64", "aarch64"]' || '["x86_64"]' ) }}
runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-20.04' }} runs-on: ${{ (matrix.arch == 'aarch64') && 'namespace-profile-arm64-2x8' || 'ubuntu-20.04' }}
steps: steps:
@ -122,7 +122,7 @@ jobs:
static_analysis: static_analysis:
name: static analysis name: static analysis
runs-on: ${{ ((github.repository == 'commaai/openpilot') && runs-on: ${{ ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -155,7 +155,7 @@ jobs:
unit_tests: unit_tests:
name: unit tests name: unit tests
runs-on: ${{ ((github.repository == 'commaai/openpilot') && runs-on: ${{ ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -186,7 +186,7 @@ jobs:
process_replay: process_replay:
name: process replay name: process replay
runs-on: ${{ ((github.repository == 'commaai/openpilot') && runs-on: ${{ ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
@ -235,7 +235,7 @@ jobs:
regen: regen:
name: regen name: regen
runs-on: 'ubuntu-20.04' runs-on: 'ubuntu-20.04'
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
with: with:
submodules: true submodules: true
@ -293,7 +293,7 @@ jobs:
test_cars: test_cars:
name: cars name: cars
runs-on: ${{ ((github.repository == 'commaai/openpilot') && runs-on: ${{ ((github.repository == 'commaai/openpilot') &&
((github.event_name != 'pull_request') || ((github.event_name != 'pull_request') ||
(github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }} (github.event.pull_request.head.repo.full_name == 'commaai/openpilot'))) && 'namespace-profile-amd64-8x16' || 'ubuntu-20.04' }}
strategy: strategy:
fail-fast: false fail-fast: false
@ -395,7 +395,7 @@ jobs:
run: > run: >
${{ env.RUN }} "PYTHONWARNINGS=ignore && ${{ env.RUN }} "PYTHONWARNINGS=ignore &&
source selfdrive/test/setup_xvfb.sh && source selfdrive/test/setup_xvfb.sh &&
export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' && export MAPBOX_TOKEN='pk.eyJ1Ijoiam5ld2IiLCJhIjoiY2xxNW8zZXprMGw1ZzJwbzZneHd2NHljbSJ9.gV7VPRfbXFetD-1OVF0XZg' &&
python selfdrive/ui/tests/test_ui/run.py" python selfdrive/ui/tests/test_ui/run.py"
- name: Upload Test Report - name: Upload Test Report
uses: actions/upload-artifact@v2 uses: actions/upload-artifact@v2

@ -4,7 +4,7 @@ runs:
using: "composite" using: "composite"
steps: steps:
- uses: ./.github/workflows/auto-cache - uses: ./.github/workflows/auto-cache
with: with:
path: .ci_cache/pre-commit path: .ci_cache/pre-commit
key: pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }} key: pre-commit-${{ hashFiles('**/.pre-commit-config.yaml') }}
restore-keys: | restore-keys: |

Loading…
Cancel
Save