Skip to content

Commit

Permalink
ci: 🐝 debug Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneylab committed Oct 30, 2024
1 parent b203673 commit 991850c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,25 @@ jobs:
egress-policy: audit
disable-telemetry: true
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install Linux Dependencies
run: sudo apt-get update && sudo apt-get install sqlite3-dev -y
- name: Cache sqlx-cli
id: cache-sqlx
with:
path: ~/.cargo/bin/sqlx ~/.cargo/bin/cargo-sqlx
key: ${{ runner.os }}-sqlx-${{ env.SQX_VERSION }}
- name: Install sqlx-cli
uses: dtolnay/rust-toolchain@4f366e621dc8fa63f557ca04b8f4361824a35a45 # stable
if: steps.cache-sqlx.outputs.cache-hit == false
run: / cargo install sqlx-cli --force--version --version=${{ env.SQX_VERSION}} --features=${{ env.SQX_FEATURES}} --no-default-features --locked
- uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0
with:
python-version: '3.13'
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: '>=1.18.0'
- name: Migrate database
run: ./scripts/init_db.sh
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1
env:
SKIP: no-commit-to-branch
2 changes: 1 addition & 1 deletion migrations/20241018164225_create_post_table.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ CREATE TABLE "Post" (
"title" TEXT NOT NULL,
"body" TEXT NOT NULL,
"published" BOOLEAN NOT NULL DEFAULT false
);
);
2 changes: 1 addition & 1 deletion public/static/css/index.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 991850c

Please sign in to comment.