Skip to content

Bhanu's Blog

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

Bhanu's 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

  • Auto Scaling Group for EC2
  • 62. Unique Paths
  • Creating a RESTful API in Micronaut
  • Installing Python 2 on macOS Using Pyenv
  • Managing Dependencies in Scala: Writing Dependencies.scala

Tags

  • active record
  • algorithm
  • android
  • authentication
  • aws
  • babel
  • backtracking
  • bug-fix
  • c#
  • caching
  • csr
  • database
  • development
  • docker
  • dp
  • ec2
  • github
  • gradle
  • hashmap
  • http-client
  • indexes
  • interceptor
  • interview
  • java
  • java8
  • Javascript
  • kotlin
  • leetcode
  • linux
  • micronaut
  • mysql
  • postgres
  • productivity
  • progressive-rendering
  • rails
  • React
  • recursion
  • redis
  • ruby
  • sbt
  • scala
  • server-side-rendering
  • ssr
  • static
  • Webpack

Most Viewed Posts

  • Reload in ruby and when to use it. (4,912)
  • Functions in Ruby that make life easy. (4,750)
  • Introduction to ACID (4,144)
  • Understanding React, Babel and Webpack. (3,051)
  • Configuring Debugger for Jruby in vscode (2,109)

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