Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Apr 15, 2024
1 parent 3757391 commit 533691f
Show file tree
Hide file tree
Showing 5 changed files with 170 additions and 174 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,17 @@ jobs:
check-formatting: "true"
check-consistency: "true"
steps:
- uses: actions/checkout@v3
- name: Set up Python for Poetry
uses: actions/setup-python@v4
with:
python-version: "3.11"
- uses: actions/checkout@v4
- name: Install poetry
run: |
python -m pip install poetry pip
pipx install poetry
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: ${{ matrix.version }}
cache: "poetry"
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Install dependencies
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish_on_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
version: ${{ steps.vars.outputs.version }}
stubs-version: ${{ steps.vars.outputs.stubs-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Extract versions
id: vars
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const { setupGlobals, extractVersions } = require('./.github/workflows/helpers.js')
Expand All @@ -49,9 +49,9 @@ jobs:
VERSION: ${{ needs.check-version.outputs.version }}
STUBS_VERSION: ${{ needs.check-version.outputs.stubs-version }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
poetry build
poetry run twine upload --non-interactive dist/*
- name: Report status
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
core.notice(`Released ${process.env.STUBS} ${process.env.STUBS_VERSION}`)
Loading

0 comments on commit 533691f

Please sign in to comment.