chore(deps): bump tar from 0.4.44 to 0.4.45 #681
This file contains hidden or 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: Verify Build | |
| on: | |
| push: | |
| branches-ignore: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| services: | |
| postgres: | |
| image: postgres:17-alpine | |
| env: | |
| POSTGRES_USER: ${{ secrets.POSTGRES_USER }} | |
| POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} | |
| POSTGRES_DB: ${{ secrets.POSTGRES_DB }} | |
| ports: | |
| - 5432:5432 | |
| options: >- | |
| --health-cmd="pg_isready -U testuser" | |
| --health-interval=10s | |
| --health-timeout=5s | |
| --health-retries=5 | |
| steps: | |
| - name: Checkout your repository using git | |
| uses: actions/checkout@v4 | |
| - name: Wait for PostgreSQL to be ready | |
| env: | |
| POSTGRES_USER: ${{ secrets.POSTGRES_USER }} | |
| run: | | |
| until pg_isready -h localhost -U $POSTGRES_USER; do | |
| echo "Waiting for PostgreSQL..." | |
| sleep 2 | |
| done | |
| - name: Setup Rust and Stellar | |
| uses: ./.github/actions/setup-rust-stellar | |
| - name: Setup Node.js | |
| uses: ./.github/actions/setup-node | |
| - name: Build contracts | |
| run: make build | |
| - name: Install diesel | |
| run: cargo install diesel_cli | |
| - name: Run migrations | |
| env: | |
| DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
| run: | | |
| cd liquidation-bot | |
| diesel migration run | |
| - name: Run tests | |
| env: | |
| DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
| run: cargo test --release | |
| - name: Run clippy | |
| run: cargo clippy -- -D warnings | |
| - name: Setup env | |
| run: cp .env.example .env | |
| - name: Install and build | |
| env: | |
| SOROBAN_NETWORK: testnet | |
| SOROBAN_ACCOUNT: ${{ secrets.SOROBAN_ACCOUNT }} | |
| SOROBAN_SECRET_KEY: ${{ secrets.SOROBAN_SECRET_KEY }} | |
| ORACLE_ADDRESS: ${{ secrets.ORACLE_ADDRESS }} | |
| run: | | |
| npm install | |
| npm run init | |
| - name: Build Astro app | |
| env: | |
| PUBLIC_SOROBAN_NETWORK_PASSPHRASE: Test SDF Network ; September 2015 | |
| PUBLIC_SOROBAN_RPC_URL: https://soroban-testnet.stellar.org/ | |
| uses: withastro/action@v2 |