Skip to content

Conversation

@williamhorning
Copy link
Contributor

@williamhorning williamhorning commented Feb 2, 2025

this bumps the version of web_bson used to the latest one, fixing some weird issues i've ran into

@erfanium
Copy link
Member

erfanium commented Feb 2, 2025

@williamhorning
It's better to somehow upgrade all dependencies automatically, such as in a GitHub action. I was away from the Deno community for the past few months, so I don't know if there is a working tool that also handles JSR. so, I can't suggest anything.

@williamhorning
Copy link
Contributor Author

as far as I know, there's not an already-existing action that can do this, but it shouldn't be too difficult to make one, since deno ships with the deno outdated command

in theory, this should do the job, though I'm not exactly great with actions:

on:
  schedule:
   - cron: "0 23 * * *"

jobs:
  check_dependencies:
     runs-on: ubuntu-latest
     steps:
      - uses: actions/checkout@v3
      - uses: denoland/setup-deno@v2
        with:
          deno-version: v2.x
      - run: deno outdated > /tmp/deno_log
      - run: deno outdated --update
      - uses: peter-evans/create-pull-request@v7
        with:
          branch: bump-version
          title: 'chore: bump version'
          body-path: /tmp/deno_log

@erfanium
Copy link
Member

erfanium commented Feb 4, 2025

ok i gonna merge this right now. we will discuss about github action later

@erfanium erfanium merged commit 3fdc369 into denodrivers:main Feb 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants