Skip to content

Merge pull request #345 from filefilego/fix-hash-cache-routes #754

Merge pull request #345 from filefilego/fix-hash-cache-routes

Merge pull request #345 from filefilego/fix-hash-cache-routes #754

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Unit Tests / Build
permissions: read-all
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install golangci-lint
run: wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.54.0
- name: Add binary to path
run: sudo cp ./bin/golangci-lint /usr/bin/golangci-lint
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.20.7
- name: Build
run: make build
- name: Lint
run: make lint
- name: Test
run: make unit