mirror of
https://github.com/firebase/nanopb
synced 2026-11-09 22:25:59 +05:45
Add the missing `permissions: contents: read` configuration to workflows and pin the `actions/checkout` step to a specific commit hash for security consistency with other Firebase repositories.
19 lines
291 B
YAML
19 lines
291 B
YAML
name: spm
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
on:
|
|
push:
|
|
pull_request:
|
|
|
|
jobs:
|
|
swift-build-run:
|
|
runs-on: macOS-latest
|
|
steps:
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Build
|
|
run: swift build
|
|
- name: Run
|
|
run: swift test
|