Skip to content

Provide github token, recommended by the buf docs #4

Provide github token, recommended by the buf docs

Provide github token, recommended by the buf docs #4

Workflow file for this run

name: Test
on: [push]
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python: ["3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python }}
cache: 'pip'
- uses: bufbuild/buf-setup-action@v1
with:
buf_user: ${{ secrets.BUF_USER }}
buf_api_token: ${{ secrets.BUF_TOKEN }}
github_token: ${{ github.token }}
- run: make dev
- run: make test