feat: release v2.1.14 #23
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: Foundry DevTools Release | |
on: | |
push: | |
tags: ["v*"] | |
concurrency: | |
group: check-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: {fetch-depth: 0} # deep clone for git tag | |
- uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.12" | |
cache: true | |
- name: Install dependencies | |
run: pdm install --frozen-lockfile | |
- name: Run static analysis and format checkers | |
run: pdm run lint | |
- name: Run python tests | |
run: pdm run unit | |
publish: | |
needs: tests | |
runs-on: ubuntu-latest | |
permissions: | |
# This permission is needed for private repositories. | |
contents: read | |
# IMPORTANT: this permission is mandatory for trusted publishing | |
id-token: write | |
environment: release | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: pdm-project/setup-pdm@v4 | |
with: | |
python-version: "3.12" | |
cache: true | |
- name: publish foundry-dev-tools | |
working-directory: libs/foundry-dev-tools/ | |
run: pdm publish | |
- name: publish foundry-dev-tools-transforms | |
working-directory: libs/transforms/ | |
run: pdm publish | |