Skip to content

fix(gh-actions): Run on self-hosted, pt2. #162

fix(gh-actions): Run on self-hosted, pt2.

fix(gh-actions): Run on self-hosted, pt2. #162

Workflow file for this run

name: Unit Tests
on:
push:
branches:
- main
permissions: read-all
jobs:
golangci:
name: Lint
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: "1.21"
check-latest: true
- name: Run Linters
run: ./scripts/test.sh lint all
test:
name: Unit Tests
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: "1.21"
check-latest: true
- name: Run Unit Tests
run: ./scripts/test.sh test all
summary:
name: Summary
runs-on: [self-hosted, linux, x64]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: "1.21"
check-latest: true
- name: Create Summary
run: ./scripts/test.sh summary all