Skip to content

Commit 91a3866

Browse files
committed
only use script/test and script/lint for now
1 parent 2dd475d commit 91a3866

File tree

9 files changed

+12
-82
lines changed

9 files changed

+12
-82
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@ jobs:
2929
with:
3030
bundler-cache: true
3131

32-
- name: bootstrap
33-
run: script/bootstrap
34-
3532
- name: build
36-
run: script/build
33+
run: |
34+
GEM_NAME=$(ls | grep gemspec | cut -d. -f1)
35+
echo "Attempting to build gem $GEM_NAME..."
36+
gem build $GEM_NAME
37+
if [ $? -eq 0 ]; then
38+
echo "Gem built successfully!"
39+
else
40+
echo "Gem build failed!"
41+
exit 1
42+
fi

.github/workflows/lint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ jobs:
2222
with:
2323
bundler-cache: true
2424

25-
- name: bootstrap
26-
run: script/bootstrap
27-
2825
- name: lint
2926
run: script/lint

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
with:
2525
bundler-cache: true
2626

27-
- name: bootstrap
28-
run: script/bootstrap
29-
3027
- name: lint
3128
run: script/lint
3229

.github/workflows/test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,5 @@ jobs:
2727
with:
2828
bundler-cache: true
2929

30-
- name: bootstrap
31-
run: script/bootstrap
32-
33-
- name: Run tests
34-
run: bundle exec rake
30+
- name: test
31+
run: script/test

script/bootstrap

Lines changed: 0 additions & 16 deletions
This file was deleted.

script/build

Lines changed: 0 additions & 15 deletions
This file was deleted.

script/env

Lines changed: 0 additions & 32 deletions
This file was deleted.

script/lint

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
set -e
44

5-
source script/env "$@"
6-
75
bundle exec rake rubocop

script/test

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,4 @@
22

33
set -e
44

5-
source script/env "$@"
6-
75
bundle exec rake test

0 commit comments

Comments
 (0)