fix: remove door splash background banding #1021
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: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - production | |
| push: | |
| branches: | |
| - main | |
| - production | |
| workflow_dispatch: | |
| concurrency: | |
| group: ci-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| runs-on: [foglet-ci] | |
| env: | |
| ImageOS: ubuntu24 | |
| services: | |
| postgres: | |
| image: postgres:16 | |
| env: | |
| POSTGRES_PASSWORD: postgres | |
| ports: | |
| - 5432/tcp | |
| options: >- | |
| --health-cmd pg_isready | |
| --health-interval 10s | |
| --health-timeout 5s | |
| --health-retries 5 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| version-file: .tool-versions | |
| version-type: strict | |
| - name: Cache deps | |
| uses: actions/cache@v4 | |
| with: | |
| path: deps | |
| key: ${{ runner.os }}-deps-${{ hashFiles('mix.lock') }} | |
| - name: Cache build | |
| if: github.event_name != 'pull_request' | |
| uses: actions/cache@v4 | |
| with: | |
| path: _build | |
| key: ${{ runner.os }}-${{ runner.name }}-build-${{ hashFiles('mix.lock', '.tool-versions', 'mix.exs', 'config/*.exs', 'lib/**/*.ex', 'test/**/*.exs') }} | |
| - name: Cache dialyzer PLTs | |
| if: github.event_name != 'pull_request' | |
| uses: actions/cache@v4 | |
| with: | |
| path: _build/dev/*.plt* | |
| key: ${{ runner.os }}-${{ runner.name }}-plt-${{ hashFiles('mix.lock') }} | |
| - run: mix deps.get | |
| - run: mix format --check-formatted | |
| - run: mix compile --warnings-as-errors | |
| - run: mix credo --strict | |
| - run: mix test | |
| env: | |
| DATABASE_URL: ecto://postgres:postgres@localhost:${{ job.services.postgres.ports[5432] }}/foglet_bbs_test | |
| - name: Hex audit | |
| if: github.event_name != 'pull_request' | |
| run: mix hex.audit | |
| - name: Sobelow | |
| if: github.event_name != 'pull_request' | |
| run: mix sobelow --exit Low | |
| - name: Dialyzer | |
| if: github.event_name != 'pull_request' | |
| run: mix dialyzer |