mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
cd2b1964c4
* refactor: Disable JSON handling in logger/logger.go. * chore: Standardize spelling and add typos check workflows. - Update GitHub Action name to 'unit tests' - Add spell-check step with custom config to lint workflow - Use latest version of golangci/lint-action in lint workflow - Rename variable 'crypted' to 'encrypted' in crypto_windows.go - Fix typos in comments and error/log messages throughout the codebase - Update .gitignore to exclude typos.toml file
29 lines
562 B
YAML
29 lines
562 B
YAML
name: Lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
workflow_dispatch:
|
|
jobs:
|
|
lint:
|
|
name: Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Set Golang
|
|
uses: actions/setup-go@v3
|
|
with:
|
|
go-version: "1.21.x"
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Check spelling with custom config file
|
|
uses: crate-ci/typos@master
|
|
with:
|
|
config: ./typos.toml
|
|
|
|
- name: Lint
|
|
uses: golangci/golangci-lint-action@v3
|
|
with:
|
|
version: latest
|