Bumped dependencies to fix security issues (#28) #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Installing Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: "1.20" | |
- name: Initialize Swag | |
run: | | |
go install github.com/swaggo/swag/cmd/swag@latest | |
swag init --parseDependency --generalInfo main.go | |
- name: Installing golangci-lint | |
uses: golangci/golangci-lint-action@v2 | |
with: | |
version: latest | |
- name: Run golangci-lint | |
run: golangci-lint run ./... |