Skip to content

ci: pass GITHUB_TOKEN to setup_protoc #29

ci: pass GITHUB_TOKEN to setup_protoc

ci: pass GITHUB_TOKEN to setup_protoc #29

Workflow file for this run

name: test
on:
push:
branches:
- ci
- dev
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
features:
- rust
- luajit # should we test with lua54 instead?
- java
- js
- python
toolchain:
- stable
# - beta
# - nightly
# TODO should re-enable future toolchains so we get warnings on breaking changes
steps:
- uses: arduino/setup-protoc@v3
repo-token: ${{ secrets.GITHUB_TOKEN }}

Check failure on line 34 in .github/workflows/test.yml

View workflow run for this annotation

GitHub Actions / test

Invalid workflow file

The workflow is not valid. .github/workflows/test.yml (Line: 34, Col: 9): Unexpected value 'repo-token'
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test --verbose --features=${{ matrix.features }}