Skip to content

Update config

Update config #170

Workflow file for this run

---
"on": [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Cache Go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
- name: Run go test
run: go test -v ./...
- name: Run go build
run: go build
- name: Test with FreeRADIUS
run: test/test.sh