Skip to content

Commit

Permalink
fix(ci): Bump dependencies in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswmackey committed Nov 6, 2024
1 parent 95143ff commit 400ef9e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 28 deletions.
13 changes: 0 additions & 13 deletions .github/dependabot.yml

This file was deleted.

20 changes: 10 additions & 10 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: install python dependencies
run: |
pip install -r dev-requirements.txt
Expand All @@ -35,11 +35,11 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: set up node # we need node for for semantic release
uses: actions/setup-node@v2.1.2
uses: actions/setup-node@v4
with:
node-version: 14.2.0
node-version: 22.2.0
- name: install python dependencies
run: |
pip install -r dev-requirements.txt
Expand All @@ -50,8 +50,8 @@ jobs:
- name: run semantic release
id: new_release
run: |
nextRelease="`npx semantic-release@^17.0.0 --dryRun | grep -oP 'Published release \K.*? ' || true`"
npx semantic-release@^17.0.0
nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`"
npx semantic-release@^23.1.1
echo "::set-output name=tag::$nextRelease"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -71,13 +71,13 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: install python dependencies
run: pip install .
- name: deploy to staging
run: |
queenbee
pollination dsl push pollination-lbt-honeybee --tag ${{needs.deploy.outputs.tag}} -e https://api.staging.pollination.cloud
pollination dsl push pollination-lbt-honeybee --tag ${{needs.deploy.outputs.tag}} -e https://api.staging.pollination.solutions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_STAGING_LADYBUGBOT_TOKEN }}
Expand All @@ -92,13 +92,13 @@ jobs:
- name: set up Python
uses: actions/setup-python@v2
with:
python-version: 3.7
python-version: '3.12'
- name: install python dependencies
run: pip install pollination-lbt-honeybee
- name: deploy to production
run: |
queenbee
pollination dsl push pollination-lbt-honeybee -e https://api.pollination.cloud
pollination dsl push pollination-lbt-honeybee -e https://api.pollination.solutions
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
QB_POLLINATION_TOKEN: ${{ secrets.POLLINATION_LADYBUGBOT_TOKEN }}
8 changes: 7 additions & 1 deletion .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
[
"@semantic-release/github",
{
"successComment": false,
"failTitle": false
}
],
[
"@semantic-release/exec",
{
Expand Down
8 changes: 4 additions & 4 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest==6.2.3
twine==3.4.1
wheel==0.36.2
setuptools==56.0.0
pytest==8.3.2
twine==5.1.1
wheel==0.44.0
setuptools==75.1.0

0 comments on commit 400ef9e

Please sign in to comment.