Skip to content

Commit

Permalink
Merge pull request #36 from isimluk/goreportcard
Browse files Browse the repository at this point in the history
Add goreportcard badge
  • Loading branch information
isimluk authored Nov 27, 2021
2 parents 470c68b + 30feed3 commit b1709e5
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
26 changes: 26 additions & 0 deletions .github/workflows/gosec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: gosec

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest]
go-version: [1.16.x]

runs-on: ${{ matrix.os }}
env:
GO111MODULE: on
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# XSD2Go - Automatically generate golang xml parser based on XSD ![Build CI](https://github.com/GoComply/xsd2go/workflows/Build%20CI/badge.svg) [![Lint CI](https://github.com/GoComply/xsd2go/actions/workflows/lint.yaml/badge.svg)](https://github.com/GoComply/xsd2go/actions/workflows/lint.yaml) [![Gitter](https://badges.gitter.im/GoComply/community.svg)](https://gitter.im/GoComply/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![PkgGoDev](https://pkg.go.dev/badge/github.com/gocomply/xsd2go)](https://pkg.go.dev/github.com/gocomply/xsd2go)
# XSD2Go - Automatically generate golang xml parser based on XSD
![Build CI](https://github.com/GoComply/xsd2go/workflows/Build%20CI/badge.svg)
[![Lint CI](https://github.com/GoComply/xsd2go/actions/workflows/lint.yaml/badge.svg)](https://github.com/GoComply/xsd2go/actions/workflows/lint.yaml)
[![Go Report Card](https://goreportcard.com/badge/github.com/gocomply/xsd2go)](https://goreportcard.com/report/github.com/gocomply/xsd2go)
[![Gitter](https://badges.gitter.im/GoComply/community.svg)](https://gitter.im/GoComply/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/gocomply/xsd2go)](https://pkg.go.dev/github.com/gocomply/xsd2go)

:warning: **You should run xsd2go, before ever importing `encoding/xml` to your project.** :warning:

Expand Down

0 comments on commit b1709e5

Please # to comment.