Skip to content

databasee

databasee #19

Workflow file for this run

name: Lint Go Code
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
Test-and-lint:
runs-on: ubuntu-latest
steps:
- name: Check out repository or project source code to the hosted machine
uses: actions/checkout@v3
- name: Sets up a go environment
uses: actions/setup-go@v4
with:
go-version: '1.20.2'
cache: false
- name: Confirm the right go version was installed
run: go version
- name: Lint the source code using golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.53
- name: Test
run: go test ./...