Skip to content

feat: wrap data in a GitHubResponse struct #9

feat: wrap data in a GitHubResponse struct

feat: wrap data in a GitHubResponse struct #9

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
name: Test
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Cache
uses: Swatinem/rust-cache@v2
- name: Run tests
run: cargo test -- --nocapture
- name: Generate code
run: cargo run -p codegen
- name: Run tests
env:
PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
export GITHUB_PERSONAL_ACCESS_TOKEN=$PERSONAL_ACCESS_TOKEN
cargo test --features="repos users pulls issues search" --examples -- --nocapture