Skip to content

Commit cdda6e4

Browse files
authored
Merge pull request #8 from gmemstr/shellcheck
Add basic Shellcheck GHA
2 parents 6de90e1 + 36973db commit cdda6e4

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/shellcheck.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
pull_request:
6+
branches:
7+
- main
8+
9+
jobs:
10+
shellcheck:
11+
name: Shellcheck
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
- name: Run ShellCheck
16+
uses: ludeeus/action-shellcheck@master

obench.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Benchmark using ollama gives rate of tokens per second
33
# idea taken from https://taoofmac.com/space/blog/2024/01/20/1800
44

0 commit comments

Comments
 (0)