Skip to content

Cron Legacy

Cron Legacy #946

Workflow file for this run

# Cron job for https://github.com/ros-industrial/industrial_ci/blob/legacy/.github/workflows/legacy.yml
name: Cron Legacy
on:
schedule:
- cron: "0 0 * * *" # every day at midnight
# https://stackoverflow.com/questions/58798886/github-actions-schedule-operation-on-branch
jobs:
shellcheck:
if: github.repository == 'ros-industrial/industrial_ci' # don't run on forks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: legacy
- uses: docker://koalaman/shellcheck-alpine
with:
args: /bin/sh -c "shellcheck -x *.sh industrial_ci/scripts/*_ci industrial_ci/src/*.sh industrial_ci/src/*/*.sh"
industrial_ci:
if: github.repository == 'ros-industrial/industrial_ci' # don't run on forks
strategy:
fail-fast: false
matrix:
env:
- {ROS_DISTRO: melodic}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: legacy
- run: ./ci.sh
env: ${{matrix.env}}