0.4.0 #4
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: CI | |
on: | |
workflow_dispatch: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install rye | |
run: | | |
RYE_INSTALL_OPTION="--yes" /bin/bash -c "$(curl -fsSL https://rye-up.com/get)" | |
echo "$HOME/.rye/shims" >> $GITHUB_PATH | |
- name: rye sync | |
run: | | |
rye add --dev pyright | |
rye sync | |
- name: Lint | |
run: rye run lint | |
- name: Test | |
run: | | |
sudo apt-add-repository ppa:fish-shell/release-3 -y | |
sudo apt update | |
sudo apt install fish -y | |
sudo apt install zsh -y | |
rye run test | |
- name: Build | |
run: rye build | |
- name: Publish | |
run: rye publish -u __token__ --token ${{ secrets.PYPI_TOKEN }} --yes |