Skip to content

Commit

Permalink
Update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vemel committed Nov 14, 2023
1 parent 9ec2fe6 commit 1b0c9a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
check-formatting: "true"
check-consistency: "true"
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python for Poetry
uses: actions/setup-python@v4
with:
Expand All @@ -39,9 +39,9 @@ jobs:
python-version: ${{ matrix.version }}
cache: "poetry"
- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "18"
node-version: "20"
- name: Install dependencies
run: |
poetry install -n
Expand Down
8 changes: 4 additions & 4 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,7 +49,7 @@ 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
with:
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}`)

0 comments on commit 1b0c9a6

Please sign in to comment.