Skip to content

Upgrade GitHub Actions (#54) #82

Upgrade GitHub Actions (#54)

Upgrade GitHub Actions (#54) #82

Workflow file for this run

name: GitHub Actions Workflow
on: [push]
jobs:
fmt:
name: Fmt
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.7'
- name: Fmt
run: go fmt github.com/pavlo-v-chernykh/keystore-go/v4/...
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
args: --timeout=5m0s -c .golangci.yaml
version: v1.61.0
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.22.7'
- name: Test
run: go test -cover -count=1 -v github.com/pavlo-v-chernykh/keystore-go/v4/...