Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Commit

Permalink
feat: added codeql action
Browse files Browse the repository at this point in the history
  • Loading branch information
Taliesin Millhouse committed Oct 13, 2021
1 parent a2c7dc1 commit 972bd39
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 22 deletions.
23 changes: 17 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,25 @@ jobs:
- uses: actions/checkout@v2
- uses: golangci/golangci-lint-action@v2

security-check:
name: Security Check
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- uses: actions/checkout@v2
- uses: securego/gosec@master
with:
args: ./...
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1

test:
name: Test
runs-on: ubuntu-latest
Expand Down
25 changes: 25 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CodeQL

on:
schedule:
- cron: 0 17 * * 5

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
steps:
- uses: actions/checkout@v2
- uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
- uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/analyze@v1
15 changes: 0 additions & 15 deletions .github/workflows/security-scan.yml

This file was deleted.

6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.5.1 - 2021-09-04
## v1.0.0 - 2021-10-13
### Added
* Added CodeQL action.

## v0.5.1 - 2021-09-04
### Fixed
* Fixed character scape issues with ```Error.MarshalJSON```.

Expand Down

0 comments on commit 972bd39

Please sign in to comment.