Skip to content

Prepare release action #8

Prepare release action

Prepare release action #8

Workflow file for this run

name: "[ptars] CI"
on:
push:
branches:
- master
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Format
run: cargo fmt && git diff --exit-code
- name: Lint
run: |
rustup update
rustup component add clippy
cargo clippy -- -D warnings
test:
strategy:
matrix:
python:
- "3.10"
- "3.11"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Build
run: |
make develop
make protoc
- name: Test
run: make test
all-tests-pass:
if: always()
needs:
- test
runs-on: ubuntu-latest
steps:
- name: check test jobs
uses: re-actors/[email protected]
with:
jobs: ${{ toJSON(needs) }}