Update CI pipeline to use Ubuntu 22.04 and fix conda ownership command #300
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: pre-commit | |
on: | |
pull_request: | |
push: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
- run: | | |
cat <<EOF > src/pyinterp/version.py | |
def release(): | |
return "0.0.0" | |
def date(): | |
return "01 January 2000" | |
EOF | |
- uses: pre-commit/[email protected] |