Skip to content

Commit

Permalink
mod: github actions && readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Karolos Lykos authored and Karolos Lykos committed Aug 2, 2023
1 parent 2c6a447 commit 4dcb27a
Show file tree
Hide file tree
Showing 2 changed files with 77 additions and 2 deletions.
49 changes: 49 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '17 11 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
30 changes: 28 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
<h1><span style="color: #FF6600">Hacker</span><span style="color: #5a56e0">Tea</span></h1>

<p align="center">

<a style="text-decoration: none" href="go.mod">
<img src="https://img.shields.io/badge/Go-v1.19-blue?style=flat-square" alt="Go version">
<img src="https://img.shields.io/github/go-mod/go-version/KarolosLykos/hackertea?style=flat-square" alt="Go version">
</a>

<a href="https://codecov.io/gh/KarolosLykos/hackertea" style="text-decoration: none">
<img src="https://img.shields.io/codecov/c/github/KarolosLykos/hackertea?color=magenta&style=flat-square&token=JQTnUwF7AK"alt="Downloads">
</a>


<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea/actions?query=workflow%3AGo+branch%3Amain">
<img src="https://img.shields.io/github/actions/workflow/status/KarolosLykos/hackertea/go.yml?style=flat-square" alt="Build Status">
</a>

<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea/actions?query=workflow%3ACodeQL+branch%3Amain">
<img src="https://img.shields.io/github/actions/workflow/status/KarolosLykos/hackertea/codeql-analysis.yml?style=flat-square&label=CodeQL" alt="Build Status">
</a>

<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea">
<img src="https://img.shields.io/github/languages/top/KarolosLykos/hackertea?style=flat-square" alt="Build Status">
</a>

<br />
<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea/stargazers">
<img src="https://img.shields.io/github/stars/KarolosLykos/hackertea.svg?style=flat-square" alt="Stars">
</a>
<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea/fork">
<img src="https://img.shields.io/github/forks/KarolosLykos/hackertea.svg?style=flat-square" alt="Forks">
</a>
<a style="text-decoration: none" href="https://github.com/KarolosLykos/hackertea/issues">
<img src="https://img.shields.io/github/issues/KarolosLykos/hackertea.svg?style=flat-square" alt="Issues">
</a>

-----
A command-line interface (CLI) tool that allows users to browse the Top, New, and Best stories on Hacker News. The tool includes a minimalist text-based user interface (TUI) that is developed using Bubble Tea, Lip Gloss, and Bubble libraries.

<img alt="Welcome to Hachertea" src="demo.gif" width="1920"/>
Expand Down

0 comments on commit 4dcb27a

Please sign in to comment.