Skip to content

Commit

Permalink
Merge pull request #13 from luka2220/env/cicd
Browse files Browse the repository at this point in the history
ci/cd initialization
  • Loading branch information
luka2220 authored Aug 24, 2024
2 parents a348aaf + 76353dd commit 2845c7b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ci

on:
pull_request:
branches: [master]

jobs:
tests:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'

- name: Echo Go Version
run: go version

- name: Run go fmt
run: go fmt

- name: Check if all unit tests are passing
run: go test ./... -cover
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![code coverage badge](https://github.com/luka2220/memcached-cli-client/actions/workflows/ci.yaml/badge.svg)

## Description

This project aims to create a cli client that can interact with the Memcached server. The client will send commands based on the memcached TCP communication protocol.
Expand Down

0 comments on commit 2845c7b

Please sign in to comment.