From a681262f1bd2302d01a5c6e593608bfeda96c466 Mon Sep 17 00:00:00 2001 From: Russel Van Tuyl Date: Tue, 19 Dec 2023 13:48:47 -0500 Subject: [PATCH] Updated CodeQL workflow --- .github/workflows/codeql.yml | 42 ++++++++++++++++++++++++++++++++++++ docs/CHANGELOG.MD | 8 +++++++ 2 files changed, 50 insertions(+) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index f14ab7d..e725382 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -14,8 +14,24 @@ name: "CodeQL" on: push: branches: [ "main", "dev" ] + paths-ignore: + - '.github/**' + - 'docs/**' + - '.gitattributes' + - '.gitignore' + - 'LICENSE' + - 'Makefile' + - 'README.MD' pull_request: branches: [ "main", "dev" ] + paths-ignore: + - '.github/**' + - 'docs/**' + - '.gitattributes' + - '.gitignore' + - 'LICENSE' + - 'Makefile' + - 'README.MD' schedule: - cron: '32 7 * * 4' @@ -79,3 +95,29 @@ jobs: uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" + + # Steps above here were provided in the default CodeQL YAML workflow file. + # Steps below here are custom steps added to the default CodeQL YAML workflow file. + - name: GoVulnCheck + id: govulncheck + uses: golang/govulncheck-action@v1 + with: + go-version-input: '1.21' + go-package: './...' + + - name: Gosec Security Scanner + id: gosec + uses: securego/gosec@master + + - name: Go Report Card - Install + id: goreportcard_install + working-directory: /tmp + run: | + git clone https://github.com/gojp/goreportcard.git + cd goreportcard + make install + go install ./cmd/goreportcard-cli + + - name: Go Report Card - Run + id: goreportcard_run + run: 'goreportcard-cli -v' # This renames the files in the ./rpc directory to *.grc.bak causing builds to fail \ No newline at end of file diff --git a/docs/CHANGELOG.MD b/docs/CHANGELOG.MD index 34c95a4..19e0496 100644 --- a/docs/CHANGELOG.MD +++ b/docs/CHANGELOG.MD @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## 2.X.X - 202X-XX-XX + +### Added + +- Support to decode Simplified Chinese (Code Page 936) encoding to UTF-8 +- Support to decode Traditional Chinese (Code Page 950) encoding to UTF-8 +- Support to decode Korean (Code Page 949) encoding to UTF-8 + ## 2.2.0 - 2023-12-14 ### Added