Skip to content

Commit

Permalink
up github-ci versions (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov authored Jan 28, 2024
1 parent c8ef8d5 commit fb3a4ee
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/go-checks.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,23 @@
name: Go Checks
on:
on:
push:
branches:
main
- main
pull_request:

jobs:
build:

runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.20'
- name: Tidy
run: go mod tidy
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
- run: go mod tidy
- uses: golangci/golangci-lint-action@v3
with:
version: 'v1.55'
skip-pkg-cache: true
- name : Test
run: go test -v ./...
- name: Build
run: go build -v ./...
- run: go build -v ./...
- run: go test -v ./...

0 comments on commit fb3a4ee

Please sign in to comment.