mirror of
https://github.com/moonD4rk/HackBrowserData.git
synced 2026-05-19 18:58:03 +02:00
ci: Improve Golang code quality with updated lint configuration file (#307)
* refactor: Optimize code logic and reduce nesting. * ci: Improve Golang code quality with updated configuration file * chore: Update GitHub actions setup-go to version 5 and optimize caching.
This commit is contained in:
@@ -10,13 +10,14 @@ jobs:
|
||||
name: Lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set Golang
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: "1.21.x"
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set Golang
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.21.x"
|
||||
|
||||
- name: Check spelling with custom config file
|
||||
uses: crate-ci/typos@master
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user