draft: Use git tag for package versioning #262
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: build_conda | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: continuumio/miniconda3:latest | |
steps: | |
- name: Checkout Files | |
uses: actions/checkout@v4 | |
- name: Run Docker to Build | |
run: | | |
conda config --append channels conda-forge | |
conda config --append channels noaa-gfdl | |
conda install conda-build conda-verify | |
git config --global --add safe.directory /__w/fre-cli/fre-cli | |
git describe | |
git log -1 --format='%H' | |
conda build . | |
- name: Pylint All Code | |
continue-on-error: true | |
run: | | |
python -m pip install --upgrade pip | |
pip install pylint | |
pylint --clear-cache-post-run y ./fre |