Skip to content

Commit

Permalink
CI: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszskrobek committed Sep 27, 2024
1 parent acd45d0 commit b4918eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 31 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/licensechecker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ name: Check License Lines
on: [pull_request]
jobs:
check-license-lines:
runs-on:
- self-hosted
- robo-pc-066
container:
image: ubuntu:24.04

runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@master
- name: Check License Lines
uses: kt3k/[email protected]
uses: kt3k/[email protected]
2 changes: 1 addition & 1 deletion .github/workflows/poetry-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ jobs:
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
source install/setup.bash
poetry run pytest
poetry run pytest
25 changes: 2 additions & 23 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,15 @@ on:

jobs:
pre-commit:
runs-on:
- self-hosted
- robo-pc-066

container:
image: ubuntu:22.04
runs-on: ubuntu-latest

steps:
- name: Clean up build space
run: |
ls -la $GITHUB_WORKSPACE
rm -rf $GITHUB_WORKSPACE/* || true
rm -rf $GITHUB_WORKSPACE/.??* || true
ls -la $GITHUB_WORKSPACE
ls -la $GITHUB_WORKSPACE/../../_temp/_github_home
rm -rf $GITHUB_WORKSPACE/../../_temp/_github_home/* || true
rm -rf $GITHUB_WORKSPACE/../../_temp/_github_home/.??* || true
ls -la $GITHUB_WORKSPACE/../../_temp/_github_home
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install python
uses: actions/setup-python@v5
with:
python-version: '3.10'

- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: "--all-files"
extra_args: "--all-files"

0 comments on commit b4918eb

Please sign in to comment.