X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2de26d54ef22c5653f830d0ce4938df78d0ca0fd..a1761602870b76d79662f2cec8b7b80d8dd5baa4:/.github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 433b523f7..099d0abf8 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -86,14 +86,17 @@ jobs: ruby-version: ${{ env.ruby }} rubygems: 3.4.10 bundler-cache: true + - name: Configure rails + run: | + cp config/github.database.yml config/database.yml + cp config/example.storage.yml config/storage.yml - name: Setup database run: | sudo systemctl start postgresql sudo -u postgres createuser -s $(id -un) createdb openstreetmap - cp config/github.database.yml config/database.yml bundle exec rails db:schema:load - name: Run Annotate Models - run: bundle exec rails annotate_models + run: bundle exec annotaterb models - name: Fail if model annotations are out of date run: git diff --exit-code