Skip to content

adding flow for socket support #54

adding flow for socket support

adding flow for socket support #54

Workflow file for this run

name: Main
'on':
push:
branches:
- main
pull_request:
branches:
- main
concurrency:
group: '${{ github.ref }}'
cancel-in-progress: true
jobs:
Validation:
name: Validation
runs-on: self-hosted
env:
GOPATH: '${{ github.workspace }}'
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
path: '${{ env.GOPATH }}/src/github.com/${{ github.repository }}'
- uses: actions/setup-go@v5
with:
go-version: 1.23.2
cache: false
- name: Run Unit Tests
run: |
cd ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
make test
- name: Run Gosec Security Scanner
run: |
cd ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
make gosec
- name: Run SpellCheck
run: |
cd ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
make spell-check
- name: Lint Go files
uses: golangci/golangci-lint-action@v6
with:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
version: v1.60
args: --timeout 180s --new
- name: Run Examples
run: |
cd ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
make examples