Skip to content

Bump openai from 1.0.0-alpha.13 to 1.0.0-alpha.14 #411

Bump openai from 1.0.0-alpha.13 to 1.0.0-alpha.14

Bump openai from 1.0.0-alpha.13 to 1.0.0-alpha.14 #411

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: CI
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
# make sure all code has been formatted with rustfmt
- name: check rustfmt
run: cargo fmt -- --check --color always
# run clippy to verify we have no warnings
- name: cargo fetch
run: cargo fetch
- name: cargo clippy
run: cargo clippy -- -D warnings
deploy:
name: Deploy
if: ${{ github.event_name == 'push' }}
runs-on: ubuntu-latest
needs: [lint]
env:
KAMAL_SERVER: ${{ secrets.MRSK_SERVER }}
DOLAN_TOKEN: ${{ secrets.DOLAN_TOKEN }}
DOLAN_OPENAI: ${{ secrets.DOLAN_OPENAI }}
DOLAN_CF_ACCOUNT: ${{ secrets.DOLAN_CF_ACCOUNT }}
DOLAN_CF_API: ${{ secrets.DOLAN_CF_API }}
KAMAL_REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2"
bundler-cache: false
- uses: shimataro/[email protected]
with:
key: ${{ secrets.SSH_KEY }}
known_hosts: unnecessary
- run: gem install kamal
- run: kamal setup