A fast, safe, and efficient CBOR serialization library for Swift on any platform. swiftpackageindex.com/thecoolwinter/CBOR/1.1.1/documentation/cbor
atproto swift cbor

Maybe?

+20 -18
+20 -18
.github/workflows/ci.yml
··· 18 18 with: 19 19 version: latest 20 20 21 - test: 22 - name: Testing CBOR 21 + test-linux: 22 + name: Testing CBOR (ubuntu) 23 23 needs: swiftlint 24 - strategy: 25 - matrix: 26 - os: [ubuntu-latest, macos-latest] 27 - runs-on: ${{ matrix.os }} 24 + runs-on: ubuntu-latest 25 + container: swift:6.1-noble 28 26 steps: 29 27 - name: Checkout repository 30 28 uses: actions/checkout@v5 ··· 32 30 with: 33 31 swift-version: "6.1" 34 32 - name: Testing Package 35 - run: | 36 - if [ "$RUNNER_OS" == "Linux" ]; then 37 - swift test 38 - else 39 - set -o pipefail && swift test | xcbeautify 40 - fi 33 + run: swift test 34 + 35 + test-macos: 36 + name: Testing and Fuzzing CBOR (macOS) 37 + needs: swiftlint 38 + runs-on: macos-latest 39 + container: swift:6.1-noble 40 + steps: 41 + - name: Checkout repository 42 + uses: actions/checkout@v5 43 + - uses: swift-actions/setup-swift@next 44 + with: 45 + swift-version: "6.1" 46 + - name: Testing Package 47 + run: set -o pipefail && swift test | xcbeautify 41 48 - name: Building Fuzzing Target 42 - run: | 43 - if [ "$RUNNER_OS" == "Linux" ]; then 44 - swift build -c release --sanitize fuzzer,address 45 - else 46 - set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify 47 - fi 49 + run: set -o pipefail && swift build -c release --sanitize fuzzer,address | xcbeautify 48 50 - name: Fuzzing For 30 Seconds 49 51 run: | 50 52 mkdir -p .fuzz