Skip to content

Commit

Permalink
CI: workflows update
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszskrobek committed Sep 27, 2024
1 parent b4918eb commit a49428f
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/licensechecker.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
name: Check License Lines

on: [pull_request]

jobs:
check-license-lines:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@master
- name: Check License Lines
uses: kt3k/[email protected]
uses: kt3k/[email protected]
3 changes: 2 additions & 1 deletion .github/workflows/poetry-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on:
- self-hosted
- robo-pc-066

strategy:
matrix:
ros_distro:
Expand Down Expand Up @@ -62,4 +63,4 @@ jobs:
run: |
source /opt/ros/${{ matrix.ros_distro }}/setup.bash
source install/setup.bash
poetry run pytest
poetry run pytest
19 changes: 18 additions & 1 deletion .github/workflows/poetry-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,26 @@ jobs:
- robo-pc-066

container:
image: ubuntu:22.04
image: ubuntu:24.04

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: Install dependencies
run: |
apt-get update
apt-get install -y ca-certificates git gcc
update-ca-certificates --fresh
- uses: fuzzylabs/gha-poetry-update@v1
with:
python-version: 3.12
5 changes: 3 additions & 2 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ on:
branches:
- main
- development

workflow_dispatch:

jobs:
pre-commit:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Checkout code
Expand All @@ -20,4 +21,4 @@ jobs:
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: "--all-files"
extra_args: "--all-files"

0 comments on commit a49428f

Please sign in to comment.