Skip to content

Commit

Permalink
added test to action and releaser status badge
Browse files Browse the repository at this point in the history
  • Loading branch information
saschamonteiro committed Jul 27, 2024
1 parent 1fbf714 commit 03415ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go

name: Go Build Cert Checker
name: Go Build/Test Cert Checker

on:
push:
Expand All @@ -21,6 +21,11 @@ jobs:
with:
go-version: '1.22'

- name: Test
run: go test -v ./...
env:
CGO_ENABLED: 0

- name: Build
run: go build -ldflags "-s -w -X main.sha1ver=`git rev-parse HEAD` -X main.buildTime=`date +'%Y-%m-%d_%T%Z'`" -o certchecker_linux main.go
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Go Build Cert Checker](https://github.com/saschamonteiro/certchecker/actions/workflows/go.yml/badge.svg)](https://github.com/saschamonteiro/certchecker/actions/workflows/go.yml)
[![Go Build Cert Checker](https://github.com/saschamonteiro/certchecker/actions/workflows/go.yml/badge.svg)](https://github.com/saschamonteiro/certchecker/actions/workflows/go.yml) [![Release Cert Checker](https://github.com/saschamonteiro/certchecker/actions/workflows/release.yml/badge.svg)](https://github.com/saschamonteiro/certchecker/actions/workflows/release.yml)
# Cert Checker / TLS Scan

A utility to scan for TLS certificates in a network segment in CIDR format to quickly find expired certificates.
Expand Down

0 comments on commit 03415ae

Please sign in to comment.