Skip to content

add information

add information #5

Workflow file for this run

name: Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
cache-dependency-path: go.sum
- name: build
run: make build
lint:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-go@v4

Check failure on line 21 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / Test

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yaml (Line: 21, Col: 7): 'uses' is already defined .github/workflows/ci.yaml (Line: 35, Col: 7): 'uses' is already defined
with:
go-version-file: go.mod
check-latest: true
cache-dependency-path: go.sum
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.1
test:
needs: setup
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
uses: actions/setup-go@v4
with:
go-version-file: go.mod
check-latest: true
cache-dependency-path: go.sum
- name: test
run: make test
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: cover.out