fix: fix Readme #28
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: ๐ ๏ธ Build, Test & Scan | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-go: | |
name: ๐น Build Go Project | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฅ Checkout Code | |
uses: actions/checkout@v4 | |
- name: ๐น Set Up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: ๐ฆ Install Go Dependencies | |
run: go mod tidy | |
- name: ๐ ๏ธ Build Go Project | |
run: go build -o helm-tui . | |
test-go: | |
name: โ Run Go Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: ๐ฅ Checkout Code | |
uses: actions/checkout@v4 | |
- name: ๐น Set Up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.22" | |
- name: ๐ฆ Install Go Dependencies | |
run: go mod tidy | |
- name: โ Run Go Tests with Coverage | |
run: go test ./... |