Skip to content

Merge pull request #9 from 1995parham/dependabot/github_actions/golan… #25

Merge pull request #9 from 1995parham/dependabot/github_actions/golan…

Merge pull request #9 from 1995parham/dependabot/github_actions/golan… #25

Workflow file for this run

---
name: test
on:
- push
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --enable-all
test:
name: test
runs-on: ubuntu-latest
steps:
- uses: extractions/setup-just@v2
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.20"
- run: go test -v ./... -covermode=atomic -coverprofile=coverage.out
- uses: codecov/codecov-action@v4
with:
files: coverage.out