CI: update github actions to prevent nodejs version warning
This commit is contained in:
parent
d570f67420
commit
aa0afcd037
2
.github/workflows/cygwin_build.yml
vendored
2
.github/workflows/cygwin_build.yml
vendored
@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: 'windows-latest'
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: cygwin/cygwin-install-action@master
|
||||
|
4
.github/workflows/macos_build.yml
vendored
4
.github/workflows/macos_build.yml
vendored
@ -17,7 +17,7 @@ jobs:
|
||||
]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: Install Prerequisites
|
||||
@ -35,7 +35,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
2
.github/workflows/test_ccache.yml
vendored
2
.github/workflows/test_ccache.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
gcc: [10]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: ccache test
|
||||
|
4
.github/workflows/test_chibios.yml
vendored
4
.github/workflows/test_chibios.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -72,7 +72,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{ matrix.gcc }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
4
.github/workflows/test_coverage.yml
vendored
4
.github/workflows/test_coverage.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
2
.github/workflows/test_environment.yml
vendored
2
.github/workflows/test_environment.yml
vendored
@ -62,7 +62,7 @@ jobs:
|
||||
esac
|
||||
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- name: test install environment ${{matrix.os}}.${{matrix.name}}
|
||||
|
4
.github/workflows/test_linux_sbc.yml
vendored
4
.github/workflows/test_linux_sbc.yml
vendored
@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -53,7 +53,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{matrix.config}}-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
4
.github/workflows/test_replay.yml
vendored
4
.github/workflows/test_replay.yml
vendored
@ -42,7 +42,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -52,7 +52,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
2
.github/workflows/test_scripting_docs.yml
vendored
2
.github/workflows/test_scripting_docs.yml
vendored
@ -23,7 +23,7 @@ jobs:
|
||||
container: ardupilot/ardupilot-dev-base:latest
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
|
16
.github/workflows/test_sitl_copter.yml
vendored
16
.github/workflows/test_sitl_copter.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -88,7 +88,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -98,7 +98,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -142,7 +142,7 @@ jobs:
|
||||
options: --privileged --cap-add=SYS_PTRACE --security-opt apparmor=unconfined --security-opt seccomp=unconfined
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -152,7 +152,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -182,7 +182,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -192,7 +192,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
8
.github/workflows/test_sitl_periph.yml
vendored
8
.github/workflows/test_sitl_periph.yml
vendored
@ -31,7 +31,7 @@ jobs:
|
||||
container: ardupilot/ardupilot-dev-base:latest
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -41,7 +41,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
8
.github/workflows/test_sitl_plane.yml
vendored
8
.github/workflows/test_sitl_plane.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -83,7 +83,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -93,7 +93,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
8
.github/workflows/test_sitl_rover.yml
vendored
8
.github/workflows/test_sitl_rover.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -84,7 +84,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -94,7 +94,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
8
.github/workflows/test_sitl_sub.yml
vendored
8
.github/workflows/test_sitl_sub.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -92,7 +92,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
8
.github/workflows/test_sitl_tracker.yml
vendored
8
.github/workflows/test_sitl_tracker.yml
vendored
@ -36,7 +36,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -82,7 +82,7 @@ jobs:
|
||||
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -92,7 +92,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-base-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
6
.github/workflows/test_size.yml
vendored
6
.github/workflows/test_size.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
f103-GPS # see special code for Periph below (3 places!)
|
||||
]
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.base.ref }}
|
||||
path: base_branch
|
||||
@ -38,7 +38,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
@ -77,7 +77,7 @@ jobs:
|
||||
|
||||
echo [`date`] Built ${{ github.event.pull_request.base.ref }} with no versions
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
path: 'pr'
|
||||
|
4
.github/workflows/test_unit_tests.yml
vendored
4
.github/workflows/test_unit_tests.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
]
|
||||
steps:
|
||||
# git checkout the PR
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
# Put ccache into github cache for faster build
|
||||
@ -39,7 +39,7 @@ jobs:
|
||||
NOW=$(date -u +"%F-%T")
|
||||
echo "::set-output name=timestamp::${NOW}"
|
||||
- name: ccache cache files
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.ccache
|
||||
key: ${{github.workflow}}-ccache-${{ matrix.toolchain }}-${{steps.ccache_cache_timestamp.outputs.timestamp}}
|
||||
|
Loading…
Reference in New Issue
Block a user