pre-commit check fix for end of line fixer #2
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
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python 3.10 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: "3.10" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install build | |
- name: Install cheader2json | |
run: | | |
pip install . | |
- name: Test on a header file | |
run: | | |
wget https://github.com/GMLC-TDC/HELICS/releases/download/v3.5.0/Helics-shared-3.5.0-Linux-x86_64.tar.gz | |
tar xvf Helics-shared-3.5.0-Linux-x86_64.tar.gz | |
cheader2json convert Helics-3.5.0-Linux-x86_64/include/helics/helics.h | |
- uses: actions/upload-artifact@v4 | |
with: | |
path: "*.json" |