0.3.4 #1
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: | |
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: | | |
apt-add-repository ppa:fish-shell/release-3 -y | |
apt update | |
apt install fish -y | |
apt install zsh -y | |
rye run test | |
- name: Build | |
run: rye build | |
- name: Publish | |
run: rye publish -u __token__ --token ${{ secrets.PYPI_TOKEN }} --yes |