From c5edb55b204e737187a19d5b850d356625965e34 Mon Sep 17 00:00:00 2001 From: davidhcefx Date: Tue, 8 Mar 2022 06:18:39 +0800 Subject: [PATCH] CI: migrate from Travis CI to Github Actions - Removed .travis.yml and shellcheck.sh - Added CI badge to README --- .travis.yml | 12 ------------ readme.md | 2 ++ shellcheck.sh | 4 ---- 3 files changed, 2 insertions(+), 16 deletions(-) delete mode 100644 .travis.yml delete mode 100755 shellcheck.sh diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index b8b5de3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,12 +0,0 @@ -sudo: required -dist: trusty - -before_install: - - echo 'deb http://archive.ubuntu.com/ubuntu trusty-backports main restricted universe multiverse' | sudo tee -a /etc/apt/sources.list - - sudo apt-get -qq update - - sudo apt-get install -y shellcheck - -git: - depth: 3 - -script: ./shellcheck.sh diff --git a/readme.md b/readme.md index 4c89997..849fad4 100644 --- a/readme.md +++ b/readme.md @@ -1,5 +1,7 @@ # Improved Nano Syntax Highlighting Files +[![shellcheck](https://github.com/davidhcefx/nanorc/actions/workflows/shellcheck.yml/badge.svg?branch=master)](https://github.com/davidhcefx/nanorc/actions/workflows/shellcheck.yml) + This repository holds ``{lang}.nanorc`` files that have improved definitions of syntax highlighting for various languages. ## Installation diff --git a/shellcheck.sh b/shellcheck.sh deleted file mode 100755 index 22ad42b..0000000 --- a/shellcheck.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -ev -# Shellcheck the script - -shellcheck install.sh