Skip to content

Merge pull request #23 from vitalvas/dependabot/go_modules/golang.org… #40

Merge pull request #23 from vitalvas/dependabot/go_modules/golang.org…

Merge pull request #23 from vitalvas/dependabot/go_modules/golang.org… #40

Workflow file for this run

name: tests
on:
push:
branches:
- master
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic $(go list ./... | grep -v internal/commands)
- name: Test Race
run: go test -race -v ./...
- name: Publish coverage
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.txt
slug: vitalvas/gopass