Merge pull request #66 from luckylat/implement/FewnickTree/lower_bound #112
This file contains 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: verify | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
verify: | |
runs-on: ubuntu-latest | |
# https://github.com/online-judge-tools/verification-helper/issues/406 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
- name: Install dependencies | |
run: pip3 install -U online-judge-verify-helper | |
# required only if you want to verify Haskell code | |
- name: Install dependencies (Haskell) | |
uses: actions/setup-haskell@v1 | |
# required only if you want to verify Go code | |
- name: Install dependencies (Go) | |
uses: actions/setup-go@v3 | |
# | |
#- name: Set up Rust (1.42.0) | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: 1.42.0-x86_64-unknown-linux-gnu | |
# default: true | |
# profile: minimal | |
# required by cargo-udeps | |
#- name: Set up Rust (nightly) | |
# uses: actions-rs/toolchain@v1 | |
# with: | |
# toolchain: nightly-x86_64-unknown-linux-gnu | |
# default: true | |
# profile: minimal | |
# required only if you set `languages.rust.list_dependencies_backend.kind` to `"cargo-udeps"` | |
#- name: Install cargo-udeps for Rust | |
# uses: actions-rs/install@v0.1 | |
# with: | |
# crate: cargo-udeps | |
# use-tool-cache: true | |
- name: Run tests | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }} | |
GH_PAT: ${{ secrets.GH_PAT }} | |
run: oj-verify all | |