Skip to content

Remove unused struct #93

Remove unused struct

Remove unused struct #93

Workflow file for this run

name: πŸ§ͺ Test and Lint
on:
push:
branches-ignore: [wip/**]
jobs:
test:
strategy:
matrix:
os: [[🐧, Ubuntu], [🍎, macOS], [πŸͺŸ, Windows]]
toolchain: ["stable", "beta", "nightly"]
name: πŸ¦€ ${{ matrix.toolchain }} on ${{ matrix.os[0] }} ${{ matrix.os[1] }}
runs-on: ${{ matrix.os[1] }}-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
with: { toolchain: "${{ matrix.toolchain }}" }
- name: Test
run: make test
lint:
name: πŸ”Ž Lint and Cover
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
- name: Setup Rust
uses: dtolnay/rust-toolchain@stable
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Install dependencies
run: sudo apt-get install -y libxml2-utils
- name: Generate Coverage
run: make cover RUST_BACKTRACE=1
- name: Publish Coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pgxn/meta
files: target/cover/cobertura.xml