Skip to content

Bump bootstrap from 5.3.5 to 5.3.8 #108

Bump bootstrap from 5.3.5 to 5.3.8

Bump bootstrap from 5.3.5 to 5.3.8 #108

Workflow file for this run

name: Lint and Test
permissions:
contents: read
on:
push:
branches-ignore:
- main
workflow_dispatch: {}
env:
RAILS_ENV: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
ruby-version: ['3.4']
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Run RuboCop
run: bundle exec rubocop
test:
runs-on: ubuntu-latest
needs: lint
strategy:
fail-fast: true
matrix:
ruby-version: ['3.4']
steps:
- uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true
- name: Setup Postgres
uses: ikalnytskyi/action-setup-postgres@v7
id: postgres
- env:
PGSERVICE: "${{ steps.postgres.outputs.service-name }}"
run: |
createuser funnelcake --createdb
psql -c "ALTER USER funnelcake WITH PASSWORD 'password'"
- name: Setup database
run: bundle exec rails db:setup
- name: Run tests
run: bundle exec rspec spec
notify_on_failure:
if: failure()
needs: [lint, test]
uses: tulibraries/.github/.github/workflows/slack-notify.yml@main
with:
repo: ${{ github.repository }}
run_id: ${{ github.run_id }}
workflow: ${{ github.workflow }}
secrets: inherit