Skip to content

Commit

Permalink
CI: Fix + Update
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Feb 13, 2024
1 parent 1c0d3df commit e498217
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
name: ${{ matrix.env.IMAGE }}${{ matrix.env.CATKIN_LINT && ' + catkin_lint' || ''}}${{ matrix.env.CLANG_TIDY && ' + clang-tidy' || '' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
# The target directory cache doesn't include the source directory because
# that comes from the checkout. See "prepare target_ws for cache" task below
- name: Cache target workspace
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
env: ${{ matrix.env }}

- name: Upload test artifacts (on failure)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && (steps.ici.outputs.run_target_test || steps.ici.outputs.target_test_results)
with:
name: test-results-${{ matrix.env.IMAGE }}
Expand Down
16 changes: 7 additions & 9 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,18 @@ jobs:
runs-on: ubuntu-latest
container: ros:noetic-ros-base
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v2
uses: actions/configure-pages@v4
if: github.repository_owner == 'ros-planning'
- name: "Install ruby"
run: |
apt-get update -q
apt-get install -q -y ruby-dev libffi-dev build-essential git
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3'
- name: "Run htmlproofer.sh"
run: ./htmlproofer.sh

- name: Upload pages artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
if: github.repository_owner == 'ros-planning'
with:
path: build/html
Expand All @@ -47,4 +45,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v4
4 changes: 2 additions & 2 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
name: pre-commit
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Install clang-format-10
run: sudo apt-get install clang-format-10
- uses: rhaschke/[email protected]
with:
distro: noetic
- uses: pre-commit/[email protected].0
- uses: pre-commit/[email protected].1

0 comments on commit e498217

Please sign in to comment.