ci: update actions and images

Updates some actions to run build steps in container instead of the
whole workflow.
This commit is contained in:
Ramon Roche
2024-11-25 10:20:47 -08:00
committed by Daniel Agar
parent d416cd2a6c
commit 28487350d3
10 changed files with 142 additions and 312 deletions
+6 -2
View File
@@ -12,14 +12,18 @@ jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
with:
token: ${{ secrets.ACCESS_TOKEN }}
fetch-depth: 0
- name: Install Python3
run: sudo apt-get install python3 python3-setuptools python3-pip -y
- name: Install tools
run: python3 -m pip install mypy types-requests flake8 --break-system-packages
- name: Check MAVSDK test scripts with mypy
run: $HOME/.local/bin/mypy --strict test/mavsdk_tests/*.py
- name: Check MAVSDK test scripts with flake8
run: $HOME/.local/bin/flake8 test/mavsdk_tests/*.py