Skip to content

feat: get rid of PublishedMessage derive #13

feat: get rid of PublishedMessage derive

feat: get rid of PublishedMessage derive #13

Workflow file for this run

name: ci
on:
push:
branches:
- main
tags-ignore:
- v*
pull_request:
branches:
- main
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
# Nightly needed for `cargo +nightly fmt` below
- name: Install Rust toolchain
run: |
rustup update
rustup toolchain install nightly --profile minimal
rustup component add rustfmt --toolchain nightly
# rustup component add clippy --toolchain nightly
- name: Install just
uses: taiki-e/install-action@v2
with:
tool: just
- name: Set up Rust cache
uses: Swatinem/rust-cache@v2
- name: Check code format
run: just fmt_check
- name: Run linter
run: just lint
- name: Run tests
env:
GCP_SERVICE_ACCOUNT: ${{ secrets.GCP_SERVICE_ACCOUNT }}
run: |
printenv GCP_SERVICE_ACCOUNT > pub-sub-client-tests/secrets/active-road-365118-2eca6b7b8fd9.json
just test