deps:(deps-dev): bump openai from 0.28.0 to 1.12.0 #62
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
# This workflow will install Python dependencies, run pytests and run notebooks | |
# then it will in python 3.9 (ubuntu-latest) create a badge with the coverage | |
# and add it to the PR. This badge will be updated if the PR is updated. | |
name: build-and-test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build-and-test: | |
permissions: write-all | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.ref }}" | |
cancel-in-progress: true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout (GitHub) | |
uses: actions/checkout@v3 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ghcr.io | |
username: MartinBernstorff | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create github hosts file | |
run: | # If this file is not created, the dev container fails because of non-existant mount | |
mkdir -p ~/.config/gh | |
touch ~/.config/gh/hosts.yml | |
- name: Pre-build dev container image | |
uses: devcontainers/[email protected] | |
with: | |
imageName: ghcr.io/martinbernstorff/memorymarker-devcontainer | |
cacheFrom: ghcr.io/martinbernstorff/memorymarker-devcontainer-devcontainer:latest | |
push: filter | |
refFilterForPush: refs/heads/main | |
env: | | |
OMNIVORE_API_KEY=${{ secrets.OMNIVORE_API_KEY }} | |
OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} | |
runCmd: | |
make validate_ci |