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:
26
26
- name : Checkout repo
27
27
uses : actions/checkout@v4
28
28
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
33
31
34
32
- name : Install CMake 3.30.2
35
33
run : |
36
34
ARCH=`uname -m`
37
35
curl -L https://github.com/Kitware/CMake/releases/download/v3.30.2/cmake-3.30.2-linux-$ARCH.tar.gz -O
38
36
tar xzf cmake-3.30.2-linux-$ARCH.tar.gz
39
37
export PATH="`pwd`/cmake-3.30.2-linux-$ARCH/bin:$PATH"
40
- cmake --version
41
38
echo "PATH=$PATH" >> $GITHUB_ENV
39
+ cmake --version
42
40
43
41
- name : Clone Pico SDK
44
42
run : |
Original file line number Diff line number Diff line change @@ -13,11 +13,14 @@ jobs:
13
13
container : swift:6.0-jammy
14
14
15
15
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
+
17
22
- 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
23
24
25
+ - name : Lint
26
+ run : swift-format lint --recursive --strict .
You can’t perform that action at this time.
0 commit comments