Skip to content

ci: upgrade actions #25

ci: upgrade actions

ci: upgrade actions #25

Workflow file for this run

name: PR
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
lint:
name: GolangCI Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up go
uses: actions/setup-go@v4
- name: Run linter
uses: golangci/golangci-lint-action@v3
tests:
name: Run unit tests with the race detector enabled
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Set up go
uses: actions/setup-go@v4
- name: Run unit tests
run: go test -v -race ./...