Fix: actions error #224
Workflow file for this run
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: dryrun | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
schedule: | |
- cron: '0 0 1 * *' | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
dryrun: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macOS-latest] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3.1.0 | |
# NOTE: Using setup-python in ubuntu, the fontforge script is giving me an error. Therefore, use the default python. | |
- uses: actions/setup-python@v4.3.0 | |
id: python | |
with: | |
python-version: '3.8' | |
if: matrix.os == 'macOS-latest' | |
- name: set python path | |
run: echo -e "[defaults]\ninterpreter_python=${{ steps.python.outputs.python-path }}" > ansible/ansible.cfg | |
if: matrix.os == 'macOS-latest' | |
- name: install python dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --upgrade setuptools | |
pip install -r ansible/requirements.txt | |
- name: dryrun dotfiles | |
run: make check-dotfiles | |
- name: dryrun dependencies | |
run: make check-dependencies |