[codex] add user-scoped Tolgee credentials #142
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Rust (stable) | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: stable | |
| - name: Install langcodec-cli (prebuilt if available) | |
| run: cargo install langcodec-cli | |
| - name: Verify CLI | |
| run: | | |
| langcodec --help | |
| - name: Build | |
| run: cargo build --workspace --all-targets --verbose | |
| - name: Doc (warnings as errors) | |
| env: | |
| RUSTDOCFLAGS: "-D warnings" | |
| run: | | |
| cargo doc -p langcodec --no-deps | |
| cargo doc -p langcodec-cli --lib --no-deps | |
| - name: Test | |
| run: cargo test --workspace --all-targets --verbose |