Skip to content

[auto-verifier] verify commit d30a94ca6129302823b1bc91945cb8461c1e3e73 #517

[auto-verifier] verify commit d30a94ca6129302823b1bc91945cb8461c1e3e73

[auto-verifier] verify commit d30a94ca6129302823b1bc91945cb8461c1e3e73 #517

Workflow file for this run

name: verify
on: push
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_PAT }}
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.8'
- name: Install dependencies
run: |
git clone --depth=1 https://github.com/rainbou-kpr/verification-helper.git ~/verification-helper
pip3 install ~/verification-helper
- name: Get Dropbox token
env:
DROPBOX_APP_KEY: ${{ secrets.DROPBOX_APP_KEY }}
DROPBOX_APP_SECRET: ${{ secrets.DROPBOX_APP_SECRET }}
DROPBOX_REFRESH_TOKEN: ${{ secrets.DROPBOX_REFRESH_TOKEN }}
run: echo DROPBOX_TOKEN=$(curl https://api.dropbox.com/oauth2/token -d grant_type=refresh_token -d refresh_token=$DROPBOX_REFRESH_TOKEN -u $DROPBOX_APP_KEY:$DROPBOX_APP_SECRET | jq -r '.access_token') >> $GITHUB_ENV
- name: Run tests
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
YUKICODER_TOKEN: ${{ secrets.YUKICODER_TOKEN }}
GH_PAT: ${{ secrets.GH_PAT }}
run: oj-verify all -j $(nproc) --timeout=6000