Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerhardt committed Jul 19, 2024
1 parent 04aee30 commit ae2aa16
Showing 1 changed file with 17 additions and 19 deletions.
36 changes: 17 additions & 19 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go Lint
name: Go CI

on:
push:
Expand All @@ -9,29 +9,27 @@ on:
- main

jobs:
lint:

lint-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.22

- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
- name: Install dependencies
run: go mod download

- name: Install dependencies
run: go mod download
- name: Install golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
- name: Run golangci-lint
run: |
golangci-lint run
- name: Run golangci-lint
run: golangci-lint run

- name: Run tests
run: go test -v ./...
- name: Run tests
run: go test -v ./...

0 comments on commit ae2aa16

Please sign in to comment.