Skip to content

My blog

it's not about being the best it's about being better than yesterday

My blog

it's not about being the best it's about being better than yesterday

Tag: github

ruby

How to optimise Rubocop reviewdog GitHub action to execute faster.

  • bhanunadar
  • Posted on September 16, 2022

Rubocop is a linter and code formatter for ruby, it enforces to follow the ruby style guide to improve readability and maintainability of the code https://rubystyle.guide/. To enforce this across an organisation one of the best way is to add this as a mandatory step for merging the PRs which can be done using Github…

Read More
Github actions
Tech

Copying file from remote server in Github actions

  • bhanunadar
  • Posted on November 28, 2021

It is a little pain to copy files from a remote server in a GitHub action as you need to do authenticate and if your key is passphrase protected then it adds extra pain to it. First, we should not use sensitive data directly, that’s why GitHub provide feature like secrets. So as per our…

Read More
Github actions
Tech

The asterisk problem in GitHub actions

  • bhanunadar
  • Posted on November 24, 2021

Recently I spent around 2 hours to get the head branch name inside a GitHub action. Context: I was trying to configure unit test for my repo, the idea was to get the PR branch name and run a script run_test.sh on a remote server that takes branch name as input. The script checkouts the…

Read More

Recent Posts

  • A Detail Introduction to Kafka Components
  • TIL – Difference Between isnull() and “is null”
  • Dealing with JSONB data Type in Micronaut
  • The Best way to version flyway scripts
  • How to optimise Rubocop reviewdog GitHub action to execute faster.

Tags

  • acide
  • actions
  • active record
  • algorithm
  • android
  • atomicity
  • broker
  • c#
  • caching
  • cassandra
  • clusters
  • consistency
  • consumer
  • database
  • db
  • debug
  • difference between final and static in java
  • dp
  • elastic search
  • final in java
  • github
  • groovy
  • indexes
  • isolation
  • java
  • java8
  • Javascript
  • jsonb
  • kafka
  • kotlin
  • linux
  • micronaut
  • mongodb
  • mysql
  • non static variable cannot be referenced from static context.
  • postgres
  • rails
  • React
  • recursion
  • redis
  • reload
  • ruby
  • static
  • til
  • topics

Most Viewed Posts

  • Reload in ruby and when to use it. (4,011)
  • Functions in Ruby that make life easy. (3,504)
  • Understanding React, Babel and Webpack. (2,710)
  • Configuring Debugger for Jruby in vscode (1,317)
  • SSR, CSR, and Progressive Rendering (1,118)

Copyright © All rights reserved. Proudly powered by WordPress | Theme: Blog Nano by ThemeMiles.