sqlxmq 0.4.1

A reliable job queue using PostgreSQL as a backing store
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: "Setup PostgreSQL database"
runs:
  using: "composite"
  steps:
    - name: Set environment variable
      shell: bash
      run: echo "DATABASE_URL=postgres://postgres:password@localhost/sqlxmq" >> $GITHUB_ENV

    - name: Start PostgreSQL on Ubuntu
      shell: bash
      run: |
        sudo systemctl start postgresql.service
        pg_isready
        sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'password'"

    - name: Setup database
      shell: bash
      run: cargo sqlx database setup