Skip to content

DEV: finalizing the main serve buddy #10

DEV: finalizing the main serve buddy

DEV: finalizing the main serve buddy #10

Workflow file for this run

name: myHttpServer
on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main
permissions:
contents: read
jobs:
lint:
strategy:
matrix:
go-version: [ '1.22.x' ]
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: go internal linting mechanism
run: make vet
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.57.1
# args: --timeout=30m --config=${{ github.workspace }}/.golangci.yml --issues-exit-code=0
skip-cache: true
test:
needs: [build]
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Install dependencies
run: make install
- name: Run tests
run: make test
build:
needs: [lint]
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.22.x' ]
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
cache: false
- name: Install dependencies
run: make install
- name: Compile the binary
run: make build_ci