-
Notifications
You must be signed in to change notification settings - Fork 129
32 lines (31 loc) · 1 KB
/
legacy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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}}