Added gitignore
This commit is contained in:
@@ -0,0 +1,27 @@
|
|||||||
|
name: Go CI
|
||||||
|
|
||||||
|
on: [push, pull_request] # Triggers on push or pull request events
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Test and Lint
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
|
- name: Set up Go
|
||||||
|
uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: '1.25.3'
|
||||||
|
|
||||||
|
- name: Download dependencies
|
||||||
|
run: go mod download
|
||||||
|
|
||||||
|
- name: Run tests
|
||||||
|
run: go test -v ./... # Runs all tests in the project
|
||||||
|
|
||||||
|
- name: Run linter
|
||||||
|
uses: https://github.com/golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
# textsender-models
|
||||||
|
A library containing functions, structs, types, and other code for the textsender
|
||||||
|
project
|
||||||
Reference in New Issue
Block a user