Skip to content

Commit 31b7e38

Browse files
committed
ci: add GitHub Actions workflow and CI status badges
Adds ShellCheck + Tests jobs via .github/workflows/ci.yml. README and README.it.md updated with CI, ShellCheck, MIT License, and Security Policy badges pointing to the new workflow.
1 parent a6672fb commit 31b7e38

3 files changed

Lines changed: 44 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
shellcheck:
11+
name: ShellCheck
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Run ShellCheck
17+
run: shellcheck paste-image install.sh uninstall.sh tests/*.sh
18+
19+
test:
20+
name: Tests
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
25+
- name: Run test suite
26+
run: bash tests/run_tests.sh

README.it.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
>
33
> **Vedi anche:** [Politica di Sicurezza (IT)](SECURITY.it.md) · [Security Policy (EN)](SECURITY.md)
44
5+
<div align="center">
6+
7+
[![CI](https://github.com/AndreaBonn/cli-image-paste/actions/workflows/ci.yml/badge.svg)](https://github.com/AndreaBonn/cli-image-paste/actions/workflows/ci.yml)
8+
[![ShellCheck](https://img.shields.io/badge/ShellCheck-passing-brightgreen.svg)](https://github.com/koalaman/shellcheck)
9+
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
10+
[![Security Policy](https://img.shields.io/badge/security-policy-blueviolet.svg)](SECURITY.md)
11+
12+
</div>
13+
514
# cli-image-paste
615

716
Incolla immagini dagli appunti direttamente nel terminale come percorsi file — pronto per qualsiasi assistente di coding da CLI.

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
>
33
> **See also:** [Security Policy (EN)](SECURITY.md) · [Politica di Sicurezza (IT)](SECURITY.it.md)
44
5+
<div align="center">
6+
7+
[![CI](https://github.com/AndreaBonn/cli-image-paste/actions/workflows/ci.yml/badge.svg)](https://github.com/AndreaBonn/cli-image-paste/actions/workflows/ci.yml)
8+
[![ShellCheck](https://img.shields.io/badge/ShellCheck-passing-brightgreen.svg)](https://github.com/koalaman/shellcheck)
9+
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
10+
[![Security Policy](https://img.shields.io/badge/security-policy-blueviolet.svg)](SECURITY.md)
11+
12+
</div>
13+
514
# cli-image-paste
615

716
Paste images from your clipboard directly into the terminal as file paths — ready for any CLI coding assistant.

0 commit comments

Comments
 (0)