fix(deps): update rust crate thiserror to v2 #767
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
name: Pull Request | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
check-for-cc: | |
runs-on: ubuntu-latest | |
steps: | |
- name: check-for-cc | |
id: check-for-cc | |
uses: agenthunt/[email protected] | |
docker_build: | |
uses: "philipcristiano/workflows/.github/workflows/docker-build.yml@main" | |
with: | |
timeout: 25 | |
rust: | |
uses: "philipcristiano/workflows/.github/workflows/rust_with_postgres.yml@main" | |
with: | |
db_name: et | |
db_user: et | |
db_password: et | |
setup_script: | | |
curl -sL https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.1/tailwindcss-linux-x64 -o tailwindcss | |
chmod +x tailwindcss | |
mv tailwindcss /usr/local/bin | |
flake: | |
uses: "philipcristiano/workflows/.github/workflows/nix.yml@main" | |
with: | |
flakes-from-devshell: true | |
script: | | |
export SQLX_OFFLINE=true | |
cargo build | |
database: | |
services: | |
postgres: | |
image: postgres:17 | |
env: | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_DB: et | |
options: >- | |
--health-cmd pg_isready | |
--health-interval 10s | |
--health-timeout 5s | |
--health-retries 5 | |
ports: | |
- 5432:5432 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} | |
- uses: workflow/[email protected] | |
with: | |
flakes-from-devshell: true | |
script: | | |
export SQLX_OFFLINE=true | |
cargo build --bin et-migrate | |
cargo run --bin et-migrate -- --config-file="config.github-actions.toml" migrate |