polib 0.3.0

Read, manipulate and store translation data in GNU gettext PO format.
Documentation
on:
  push:
    branches:
      - main
  pull_request:


name: Test

jobs:
  test:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
      - name: Install Rust toolchain with overrides
        run: |
          rustup override set nightly
          rustup set profile minimal
      - name: Cache dependencies
        uses: actions/cache@v4
        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: Check syntax
        run: cargo check
      - name: Build
        run: cargo build
      - name: Test
        run: cargo test