mirror of
https://github.com/dariubs/GoBooks.git
synced 2026-04-30 14:03:54 +07:00
add validator as github action
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user