aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ruby.yml
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2024-11-01 15:48:34 -0500
committerMatt Strapp <matt@mattstrapp.net>2024-11-01 15:48:34 -0500
commite55df04e362624e2f98274077a29ee65c8453070 (patch)
tree13dbd578b42446da62925bc4477af2ac14f9a7c7 /.github/workflows/ruby.yml
parentcodeowners: correct the order (diff)
downloadlocusts-e55df04e362624e2f98274077a29ee65c8453070.tar
locusts-e55df04e362624e2f98274077a29ee65c8453070.tar.gz
locusts-e55df04e362624e2f98274077a29ee65c8453070.tar.bz2
locusts-e55df04e362624e2f98274077a29ee65c8453070.tar.lz
locusts-e55df04e362624e2f98274077a29ee65c8453070.tar.xz
locusts-e55df04e362624e2f98274077a29ee65c8453070.tar.zst
locusts-e55df04e362624e2f98274077a29ee65c8453070.zip
Lint ourselves
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to '.github/workflows/ruby.yml')
-rw-r--r--.github/workflows/ruby.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index b359a28..8ec504e 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -19,7 +19,7 @@ on:
- ".github/workflows/ruby.yml"
jobs:
- build-and-test:
+ lint-build-and-test:
runs-on: ubuntu-latest
name: Ruby
steps:
@@ -29,12 +29,12 @@ jobs:
with:
ruby-version: ruby
bundler-cache: true
- - name: Build and test with Rake
+ - name: Lint, Build and Test with Rake
run: bundle exec rake
publish-preview:
runs-on: ubuntu-latest
- needs: build-and-test
+ needs: lint-build-and-test
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
name: Publish Preview to GitHub Package Registry
permissions:
@@ -64,7 +64,7 @@ jobs:
publish-release:
name: Push gem to RubyGems.org
- needs: build-and-test
+ needs: lint-build-and-test
# Only run on this on proper semver (vX.Y.Z) tags
if: ${{ github.ref_type == 'tag' && startsWith(github.ref_name, 'v') }}
runs-on: ubuntu-latest