Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to actions/checkout@v4 #873

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- 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"
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: ardent does not support conditions in package.xml
run: |
echo "BEFORE_BUILD_TARGET_WORKSPACE=sed -i /condition/d /root/target_ws/src/industrial_ci/industrial_ci/package.xml" >> "$GITHUB_ENV"
Expand All @@ -69,7 +69,7 @@ jobs:
ROS_DISTRO: [noetic, humble, jazzy]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: ros industrial-ci
uses: './'
env:
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:
- {ROS_DISTRO: noetic, PYLINT_ARGS: "--errors-only", PYLINT_EXCLUDE: "sample_talker.py", PYLINT_CHECK: "true"}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: './'
with:
config: ${{toJSON(matrix)}}
Expand All @@ -150,7 +150,7 @@ jobs:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: './'
id: ici
with:
Expand Down Expand Up @@ -181,13 +181,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout external repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{matrix.repo}}
ref: ${{matrix.ref}}
fetch-depth: ${{matrix.depth}}

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: .industrial_ci

Expand All @@ -208,14 +208,14 @@ jobs:
- {ROS_DISTRO: humble, PRERELEASE: true, UBUNTU: 22.04, TARGET_WORKSPACE: ". github:ros-controls/control_msgs#galactic-devel"}
runs-on: ubuntu-${{matrix.env.UBUNTU}}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: './'
env: ${{matrix.env}}

builders:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
for BUILDER in $(ls industrial_ci/src/builders/*.sh); do
echo "##[group]BUILDER=$BUILDER"
Expand All @@ -226,7 +226,7 @@ jobs:
test_arm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v1
- uses: './'
env:
Expand All @@ -237,7 +237,7 @@ jobs:
run_travis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- run: |
sudo apt install -y python3-yaml
industrial_ci/scripts/run_travis
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ For GitHub Actions
- {ROS_DISTRO: melodic, ROS_REPO: main}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: 'ros-industrial/industrial_ci@master'
env: ${{matrix.env}}

Expand Down
2 changes: 1 addition & 1 deletion doc/industrial_ci_action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
env:
CCACHE_DIR: "${{ github.workspace }}/.ccache" # directory for ccache (and how we enable ccache in industrial_ci)
steps:
- uses: actions/checkout@v3 # clone target repository
- uses: actions/checkout@v4 # clone target repository
- uses: actions/cache@v2 # fetch/store the directory used by ccache before/after the ci run
with:
path: ${{ env.CCACHE_DIR }}
Expand Down
Loading