Skip to content

Commit

Permalink
Linting to make line length shorter
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie authored and JamieCleare2525 committed Dec 14, 2023
1 parent 2aa3c2e commit 36f92be
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 21 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'npm'
cache: "npm"
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get -yqq install libpq-dev
bundle install --jobs 4 --retry 3
bundle exec rails assets:precompile
env:
DATABASE_URL: postgres://postgres:password@localhost:5432
GOVUK_NOTIFY_API_KEY: fake_key
SIGN_IN_METHOD: persona
DATABASE_URL: postgres://postgres:password@localhost:5432
GOVUK_NOTIFY_API_KEY: fake_key
SIGN_IN_METHOD: persona
- name: ${{ matrix.tests }}
run: ${{ env.COMMAND }}
env:
Expand All @@ -52,16 +52,16 @@ jobs:
name: Test
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: password
ports: ['5432:5432']
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: password
ports: ["5432:5432"]
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
strategy:
fail-fast: false
steps:
Expand All @@ -77,16 +77,16 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20.9.0
cache: 'npm'
cache: "npm"
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get -yqq install libpq-dev
bundle install --jobs 4 --retry 3
bundle exec rails assets:precompile
env:
DATABASE_URL: postgres://postgres:password@localhost:5432
GOVUK_NOTIFY_API_KEY: fake_key
SIGN_IN_METHOD: persona
DATABASE_URL: postgres://postgres:password@localhost:5432
GOVUK_NOTIFY_API_KEY: fake_key
SIGN_IN_METHOD: persona
- name: Run Tests
env:
RAILS_ENV: test
Expand All @@ -98,4 +98,4 @@ jobs:
run: |
bundle exec rake db:create
bundle exec rails db:schema:load
bundle exec rspec --format progress
bundle exec rspec --format progress
2 changes: 1 addition & 1 deletion app/assets/stylesheets/application.sass.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ $govuk-global-styles: true;
$govuk-new-link-styles: true;
$govuk-assets-path: "";

@import "govuk-frontend/dist/govuk/all";
@import "govuk-frontend/dist/govuk/all";
4 changes: 3 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class Application < Rails::Application
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")

config.assets.paths << Rails.root.join("node_modules/govuk-frontend/dist/govuk/assets")
config.assets.paths << Rails.root.join(
"node_modules/govuk-frontend/dist/govuk/assets"
)

config.exceptions_app = routes
end
Expand Down

0 comments on commit 36f92be

Please sign in to comment.