[go: up one dir, main page]

once_cell 1.9.0

Single assignment cells and lazy values.
Documentation
name: CI
on:
  pull_request:
  push:
    branches: ["master", "staging", "trying"]

env:
  CARGO_INCREMENTAL: 0
  CARGO_NET_RETRY: 10
  CI: 1
  RUST_BACKTRACE: short
  RUSTFLAGS: -D warnings
  RUSTUP_MAX_RETRIES: 10

jobs:
  test:
    name: Rust
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0 # fetch tags for publish

    - run: cargo run -p xtask -- ci
      env:
        CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}