Skip to content

Commit

Permalink
ci: reuse the checks workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tmzane committed May 3, 2023
1 parent ed24b7a commit fed4c5a
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 55 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: checks

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
schedule:
- cron: '0 0 * * MON'
workflow_dispatch:

jobs:
test:
uses: go-simpler/.github/.github/workflows/test.yml@runs-on-input
with:
runs-on: '[ "ubuntu-latest", "macos-latest", "windows-latest" ]'
lint:
uses: go-simpler/.github/.github/workflows/lint.yml@main
vuln:
uses: go-simpler/.github/.github/workflows/vuln.yml@main
52 changes: 0 additions & 52 deletions .github/workflows/go.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# musttag

[![ci](https://github.com/tmzane/musttag/actions/workflows/go.yml/badge.svg)](https://github.com/tmzane/musttag/actions/workflows/go.yml)
[![docs](https://pkg.go.dev/badge/go.tmz.dev/musttag.svg)](https://pkg.go.dev/go.tmz.dev/musttag)
[![report](https://goreportcard.com/badge/go.tmz.dev/musttag)](https://goreportcard.com/report/go.tmz.dev/musttag)
[![checks](https://github.com/tmzane/musttag/actions/workflows/checks.yml/badge.svg)](https://github.com/tmzane/musttag/actions/workflows/checks.yml)
[![pkg.go.dev](https://pkg.go.dev/badge/go.tmz.dev/musttag.svg)](https://pkg.go.dev/go.tmz.dev/musttag)
[![goreportcard](https://goreportcard.com/badge/go.tmz.dev/musttag)](https://goreportcard.com/report/go.tmz.dev/musttag)
[![codecov](https://codecov.io/gh/tmzane/musttag/branch/main/graph/badge.svg)](https://codecov.io/gh/tmzane/musttag)

A Go linter that enforces field tags in (un)marshaled structs
Expand Down

0 comments on commit fed4c5a

Please sign in to comment.