gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
on:
  pull_request:
  push:
    branches:
      - main

name: Test

jobs:
  test:
    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - macos-latest
          - windows-latest
    name: Test
    env:
      PROJECT_NAME_UNDERSCORE: git_ps_ci_github_actions_workflow
      CARGO_INCREMENTAL: 0
      # RUSTFLAGS: -Zprofile -Ccodegen-units=1 -Copt-level=0 -Clink-dead-code -Coverflow-checks=off -Zpanic_abort_tests -Cpanic=abort
      # RUSTDOCFLAGS: -Cpanic=abort
    runs-on: ${{matrix.os}}
    steps:
      - uses: ilammy/setup-nasm@v1
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Cache dependencies
        uses: actions/cache@v2
        env:
          cache-name: cache-dependencies
        with:
          path: |
            ~/.cargo/.crates.toml
            ~/.cargo/.crates2.json
            ~/.cargo/bin
            ~/.cargo/registry/index
            ~/.cargo/registry/cache
            target
          key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('Cargo.lock') }}
      - name: Run Tests
        run: |
          cargo test