Sha256: f156c3680cbbc7765f67c2cdc3dfa5a1f0ba9b57ef5599fcf765145eb6707e79

Contents?: true

Size: 554 Bytes

Versions: 76

Compression:

Stored size: 554 Bytes

Contents

#!/bin/bash

set -eu

LINTJE_VERSION="0.11.3"

mkdir -p "$HOME/bin"
cache_key=v1-lintje-$LINTJE_VERSION
cache restore $cache_key

# File exists and is executable
if [ -x "$HOME/bin/lintje" ]; then
  echo "Restored Lintje $LINTJE_VERSION from cache"
else
  echo "Downloading Lintje $LINTJE_VERSION"
  curl -L \
    https://github.com/tombruijn/lintje/releases/download/v$LINTJE_VERSION/x86_64-unknown-linux-gnu.tar.gz | \
    tar -xz --directory "$HOME/bin"
  cache store $cache_key "$HOME/bin/lintje"
fi

"$HOME/bin/lintje" "$SEMAPHORE_GIT_COMMIT_RANGE"

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
appsignal-3.9.2-java script/lint_git
appsignal-3.9.2 script/lint_git
appsignal-3.9.1-java script/lint_git
appsignal-3.9.1 script/lint_git
appsignal-3.9.0-java script/lint_git
appsignal-3.9.0 script/lint_git
appsignal-3.8.1-java script/lint_git
appsignal-3.8.1 script/lint_git
appsignal-3.8.0-java script/lint_git
appsignal-3.8.0 script/lint_git
appsignal-3.7.6-java script/lint_git
appsignal-3.7.6 script/lint_git
appsignal-3.7.2-java script/lint_git
appsignal-3.7.2 script/lint_git
appsignal-3.7.1-java script/lint_git
appsignal-3.7.1 script/lint_git
appsignal-3.7.0-java script/lint_git
appsignal-3.7.0 script/lint_git
appsignal-3.6.5-java script/lint_git
appsignal-3.6.5 script/lint_git