Skip to content

Commit

Permalink
test: CI 動作確認
Browse files Browse the repository at this point in the history
  • Loading branch information
KeitaSHIBUYA committed Feb 21, 2024
1 parent b947834 commit 12a58c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Check install script

on: [push]

Expand All @@ -11,6 +11,7 @@ jobs:
- name: Install required packages
run: apt-get update && apt-get install -y git sudo
- name: Install dotfiles
working-directory: ${{ github.workspace }}
run: bin/install.sh install

alpine:
Expand All @@ -21,6 +22,7 @@ jobs:
- name: Install required packages
run: apk add git sudo bash
- name: Install dotfiles
working-directory: ${{ github.workspace }}
run: bin/install.sh install

arch:
Expand All @@ -33,6 +35,7 @@ jobs:
- name: Install required packages
run: pacman -S --noconfirm git sudo
- name: Install dotfiles
working-directory: ${{ github.workspace }}
run: bin/install.sh install

lint:
Expand All @@ -49,4 +52,5 @@ jobs:
- name: Install required packages
run: apt-get update; apt-get install -y shellcheck
- name: Execute shellcheck
working-directory: ${{ github.workspace }}
run: test $(shellcheck -f gcc ~/.zshrc ~/.zsh/rc/* | grep -v "SC1036\|SC1056\|SC1070\|SC1072\|SC1073\|SC1083\|SC2034\|SC2139\|SC2148\|SC1090\|SC1117\|SC2206\|SC1009\|SC2016\|SC2046\|SC2154" | tee -a /dev/stderr | wc -l) -le 1

0 comments on commit 12a58c8

Please sign in to comment.