Skip to content

Commit 694df64

Browse files
author
Mattia Roccoberton
committed
chore: minor changes to CI configuration
1 parent 48f6a52 commit 694df64

7 files changed

Lines changed: 13 additions & 31 deletions

File tree

.github/workflows/linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v2
17+
uses: actions/checkout@v4
1818

1919
- name: Set up Ruby
2020
uses: ruby/setup-ruby@v1

.github/workflows/specs_mysql_61.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ jobs:
5151
- name: Start database service
5252
run: sudo /etc/init.d/mysql start
5353

54-
- name: Create database
55-
run: bundle exec rails db:create
56-
57-
- name: Apply migrations
58-
run: bundle exec rails db:migrate
54+
- name: Database setup
55+
run: bundle exec rails db:create db:migrate
5956

6057
- name: Run tests
6158
run: bundle exec rspec --profile

.github/workflows/specs_mysql_70.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ jobs:
5151
- name: Start database service
5252
run: sudo /etc/init.d/mysql start
5353

54-
- name: Create database
55-
run: bundle exec rails db:create
56-
57-
- name: Apply migrations
58-
run: bundle exec rails db:migrate
54+
- name: Database setup
55+
run: bundle exec rails db:create db:migrate
5956

6057
- name: Run tests
6158
run: bundle exec rspec --profile

.github/workflows/specs_mysql_71.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@ jobs:
5151
- name: Start database service
5252
run: sudo /etc/init.d/mysql start
5353

54-
- name: Create database
55-
run: bundle exec rails db:create
56-
57-
- name: Apply migrations
58-
run: bundle exec rails db:migrate
54+
- name: Database setup
55+
run: bundle exec rails db:create db:migrate
5956

6057
- name: Run tests
6158
run: bundle exec rspec --profile

.github/workflows/specs_postgres_61.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ jobs:
4848
ruby-version: ${{ matrix.ruby }}
4949
bundler-cache: true
5050

51-
- name: Create database
52-
run: bundle exec rails db:create
53-
54-
- name: Apply migrations
55-
run: bundle exec rails db:migrate
51+
- name: Database setup
52+
run: bundle exec rails db:create db:migrate
5653

5754
- name: Run tests
5855
run: bundle exec rspec --profile

.github/workflows/specs_postgres_70.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ jobs:
4848
ruby-version: ${{ matrix.ruby }}
4949
bundler-cache: true
5050

51-
- name: Create database
52-
run: bundle exec rails db:create
53-
54-
- name: Apply migrations
55-
run: bundle exec rails db:migrate
51+
- name: Database setup
52+
run: bundle exec rails db:create db:migrate
5653

5754
- name: Run tests
5855
run: bundle exec rspec --profile

.github/workflows/specs_postgres_71.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,8 @@ jobs:
4848
ruby-version: ${{ matrix.ruby }}
4949
bundler-cache: true
5050

51-
- name: Create database
52-
run: bundle exec rails db:create
53-
54-
- name: Apply migrations
55-
run: bundle exec rails db:migrate
51+
- name: Database setup
52+
run: bundle exec rails db:create db:migrate
5653

5754
- name: Run tests
5855
run: bundle exec rspec --profile

0 commit comments

Comments
 (0)