Fix broken link (#1864) #2079
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: build | |
on: | |
# quick tests for every pull request | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
# caching of these jobs: | |
# - docker-20-03-py3-pip- (shared) | |
# - ubuntu py37 pip- | |
# - os-latest-pip- (shared) | |
copyright: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: cache weekly timestamp | |
id: pip-cache | |
run: | | |
echo "::set-output name=datew::$(date '+%Y-%V')" | |
- name: cache for pip | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: ~/.cache/pip | |
key: ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }} | |
- name: Install dependencies | |
run: | | |
find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \; | |
python -m pip install --upgrade pip wheel | |
python -m pip install -r https://raw.githubusercontent.com/Project-MONAI/MONAI/dev/requirements-dev.txt | |
python -m pip install -r requirements.txt | |
- name: Copyright check | |
run: | | |
$(pwd)/runner.sh --no-run --no-checks --copyright |