fix: wrap container access in try for createNote and moveNote #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: macos-15 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Swift version | |
| run: swift --version | |
| - name: Install SwiftLint | |
| run: brew install swiftlint | |
| - name: Generate version files | |
| run: scripts/generate-version.sh | |
| - name: Swift format lint | |
| run: swift format lint --recursive Sources Tests | |
| - name: SwiftLint | |
| run: swiftlint | |
| - name: Swift test + coverage | |
| run: scripts/check-coverage.sh | |
| - name: Swift build | |
| run: swift build -c release --product notesctl |