From 60cf0b8ccf913d67e610465a083455a12e077723 Mon Sep 17 00:00:00 2001 From: Dariush Abbasi Date: Sat, 7 Feb 2026 07:30:44 -0700 Subject: [PATCH] add validator as github action --- .github/workflows/validate.yml | 21 +++++++++++++++++++++ .gitignore | 23 +++++++++++++++++++++++ README.md | 5 ++--- 3 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/validate.yml create mode 100644 .gitignore diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml new file mode 100644 index 0000000..930c95a --- /dev/null +++ b/.github/workflows/validate.yml @@ -0,0 +1,21 @@ +name: Validate README + +on: + push: + branches: [master, main] + pull_request: + branches: [master, main] + +jobs: + validate: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version: "1.21" + + - name: Run validator + run: make validate diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..006d67f --- /dev/null +++ b/.gitignore @@ -0,0 +1,23 @@ +# Binaries +validator/validator +validator/validator.exe +*.exe +*.dll +*.so +*.dylib + +# Go +*.test +*.out +go.work + +# IDE +.idea/ +.vscode/ +*.swp +*.swo +*~ + +# OS +.DS_Store +Thumbs.db diff --git a/README.md b/README.md index 330c204..8c7eec8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Awesome Go Books -[![Links](https://github.com/dariubs/GoBooks/actions/workflows/links.yml/badge.svg)](https://github.com/dariubs/GoBooks/actions/workflows/links.yml) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) + +[![Validate README](https://github.com/dariubs/GoBooks/actions/workflows/validate.yml/badge.svg)](https://github.com/dariubs/GoBooks/actions/workflows/validate.yml) [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome) GoBooks is a carefully curated collection of the best Go books available for developers of all levels, from beginners learning the basics of Golang to experienced engineers looking for advanced concurrency, performance, and system design topics. This repository gathers top Golang books covering core Go concepts, real-world patterns, best practices, and modern Go development, making it easy to find the right learning resource in one place. Whether you’re searching for your first Golang book, want to deepen your understanding of Go internals, or are looking for the most recommended and up-to-date Go programming books, GoBooks serves as a trusted reference for the Go community. @@ -43,7 +44,6 @@ GoBooks is a carefully curated collection of the best Go books available for dev - [Building Distributed Applications in Gin](#building-distributed-applications-in-gin) - [Network Programming with Go](#network-programming-with-go) - [Powerful Command-Line Applications in Go](#powerful-command-line-applications-in-go) - - [Effective Go](#effective-go) - [Cloud Native Go - Building Reliable Services in Unreliable Environments](#cloud-native-go---building-reliable-services-in-unreliable-environments) - [Everyday Go](#everyday-go) - [Practical Go: Building Scalable Network and Non-Network Applications](#practical-go-building-scalable-network-and-non-network-applications) @@ -122,7 +122,6 @@ Widely regarded as the definitive guide to Go programming, this book offers an i *Authors:* **Miek Gieben** *Avaible For Free* : **[Source Code](https://github.com/miekg/learninggo)** - A online book to start learning Golang. It features numerous exercises (and answers).