Skip to content

Context & Response #116

Context & Response

Context & Response #116

Workflow file for this run

---
name: CI
on:
push:
branches:
- master
pull_request:
jobs:
golangci-lint:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.61.0
tests:
name: tests
# run after golangci-lint action to not produce duplicated errors
needs: golangci-lint
runs-on: ubuntu-latest
services:
rabbitmq:
image: rabbitmq:4-management
ports:
- 5672:5672
- 15672:15672
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.23"
- name: Test code
run: go test -race -v ./...