Skip to content

Commit 7c0d873

Browse files
committed
wi
1 parent ac57408 commit 7c0d873

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/build-pico-sdk.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff 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: |

.github/workflows/lint.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff 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 .

0 commit comments

Comments
 (0)