Delete config/.config/fish/functions/git_functions.fish #461
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit Test | |
on: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master] | |
jobs: | |
install: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup | |
run: sh ./run.sh | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
const fs = require('fs') | |
const homedir = require('os').homedir() + "/"; | |
const verify = async (title, pathList) => { | |
const outputs = [[{data: title, header:true, colspan: '2'}]] | |
await Promise.all(pathList.map(async path => { | |
const result = await fs.existsSync(homedir + path) | |
outputs.push([path, result?"✅":"❌"]) | |
})) | |
await core.summary.addTable(outputs).write() | |
} | |
await verify( | |
"user folder config files", | |
[ | |
".gitconfig", | |
".gitconfig.remote", | |
".gitmodules", | |
".tigrc", | |
".Brewfile", | |
"gpg-key.conf", | |
".hammerspoon/init.lua" | |
] | |
) | |
await verify( | |
".config folder config files", | |
[ | |
".config/fish/config.fish", | |
".config/starship.toml", | |
".config/fish/fish_variables", | |
".config/fish/functions/g.fish", | |
".config/karabiner" | |
] | |
) | |
await verify( | |
".ssh folder", | |
[ | |
".ssh/config" | |
] | |
) | |
await verify( | |
"gnupg folder", | |
[ | |
".gnupg/gpg-agent.conf", | |
] | |
) |