Fix vcn install on CI (#3055)

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
Pascal Vizeli 2021-08-10 10:36:57 +02:00 committed by GitHub
parent 31001280c8
commit f10fccaff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,7 @@ on:
env: env:
DEFAULT_PYTHON: 3.9 DEFAULT_PYTHON: 3.9
PRE_COMMIT_HOME: ~/.cache/pre-commit PRE_COMMIT_HOME: ~/.cache/pre-commit
DEFAULT_VCN: v0.9.8
jobs: jobs:
# Separate job to pre-populate the base dependency cache # Separate job to pre-populate the base dependency cache
@ -353,10 +354,10 @@ jobs:
id: python id: python
with: with:
python-version: ${{ matrix.python-version }} python-version: ${{ matrix.python-version }}
- name: Install CodeNotary - name: Install VCN tools
shell: bash uses: home-assistant/actions/helpers/vcn@master
run: | with:
bash <(curl https://getvcn.codenotary.com -L) vnc_version: ${{ env.DEFAULT_VCN }}
- name: Restore Python virtual environment - name: Restore Python virtual environment
id: cache-venv id: cache-venv
uses: actions/cache@v2.1.6 uses: actions/cache@v2.1.6