fix: add a checksum for compressed stream #7
This file contains 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: Bump Packio version | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-packio: | |
name: Build and Test on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-13, macos-14] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build C++ project and run C++ tests | |
run: | | |
mkdir build && cd build | |
cmake -DPACKIO_BUILD_TESTS=ON .. && cmake --build . | |
ctest . | |
cd .. | |
bump_version: | |
runs-on: ubuntu-latest | |
name: "Bump version and create changelog with commitizen" | |
needs: | |
- test-packio | |
permissions: | |
contents: write | |
id-token: write | |
steps: | |
- name: Check out | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
token: ${{ github.token }} | |
- id: cz | |
name: Create bump and changelog | |
uses: commitizen-tools/commitizen-action@master | |
with: | |
github_token: ${{ github.token }} | |
- name: Print Version | |
run: echo "Bumped to version ${{ steps.cz.outputs.version }}" |