File tree Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Expand file tree Collapse file tree 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -26,19 +26,17 @@ jobs:
2626 - name : Checkout repo
2727 uses : actions/checkout@v4
2828
29- - name : Update system packages
30- run : |
31- apt-get -y update
32- apt-get -y install curl ninja-build python3
29+ - name : Install apt dependencies
30+ run : apt-get -qq update && apt-get -qq -y install curl ninja-build python3
3331
3432 - name : Install CMake 3.30.2
3533 run : |
3634 ARCH=`uname -m`
3735 curl -L https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-$ARCH.tar.gz -O
3836 tar xzf cmake-3.30.2-linux-$ARCH.tar.gz
3937 export PATH="`pwd`/cmake-3.30.2-linux-$ARCH/bin:$PATH"
40- cmake --version
4138 echo "PATH=$PATH" >> $GITHUB_ENV
39+ cmake --version
4240
4341 - name : Clone Pico SDK
4442 run : |
Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ jobs:
1313 container : swift:6.0-jammy
1414
1515 steps :
16- - uses : actions/checkout@v4
16+ - name : Checkout repo
17+ uses : actions/checkout@v4
18+
19+ - name : Install apt dependencies
20+ run : apt-get -qq update && apt-get -qq -y install curl
21+
1722 - name : Get common swift-format config
18- run : |
19- curl https://github.com/apple/swift-mmio/blob/main/SupportingFiles/Tools/swift-format/.swift-format -o .swift-format
20- - name : Lint
21- run : |
22- swift-format lint --recursive --strict .
23+ run : curl -L https://github.com/apple/swift-mmio/blob/main/SupportingFiles/Tools/swift-format/.swift-format -O
2324
25+ - name : Lint
26+ run : swift-format lint --recursive --strict .
You can’t perform that action at this time.
0 commit comments