Skip to content

Feat/modify readme

Feat/modify readme #86

Workflow file for this run

name: ci
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
go-test:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Clean up previous builds
run: |
if [ -d "./bin" ]; then
rm -rf ./bin
fi
- name: Install Dependencies
run: go mod download
- name: Build
run: go build -v -o ./bin/myapp .
- name: Run Tests
run: go test -v -race -coverprofile=profile.cov . ./typeconv/... ./db/...
- name: Upload Coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
go-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Run Linter
uses: golangci/golangci-lint-action@v6
with:
version: v1.59