Skip to content

Commit

Permalink
testing new db approach on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arkanoider committed Dec 16, 2024
1 parent 1e41842 commit 6beea3d
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,24 @@ jobs:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write



steps:
- name: Install Protoc
uses: arduino/setup-protoc@v3
- uses: actions/checkout@v4

- name: Select branch PR
if: ${{ github.ref != 'refs/heads/main' }}
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Select branch main
if: ${{ github.ref == 'refs/heads/main' }}
uses: actions/checkout@v4
with:
ref: main

- name: Install sqlx
run: cargo install sqlx-cli --version 0.6.2
- name: Init DB
Expand Down

0 comments on commit 6beea3d

Please sign in to comment.