Skip to content

Use slog, rename fields to attrs, update dependencies #5

Use slog, rename fields to attrs, update dependencies

Use slog, rename fields to attrs, update dependencies #5

Workflow file for this run

on:
push:
tags:
- v*
branches:
- main
pull_request:
name: Test
jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: go get ./...
- name: Test
run: |
go test -v ./...