Skip to content

Merge pull request #1 from fgouteroux/feat/windows_service #12

Merge pull request #1 from fgouteroux/feat/windows_service

Merge pull request #1 from fgouteroux/feat/windows_service #12

Workflow file for this run

---
name: CI
on:
pull_request:
push:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.22'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
build:
name: Build
runs-on: ubuntu-latest
strategy:
matrix:
thread: [ 0, 1, 2 ]
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: ./.github/promci/actions/build
with:
parallelism: 3
thread: ${{ matrix.thread }}
publish_release:
name: Publish release arfefacts
runs-on: ubuntu-latest
needs: [build]
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/checkout@v3
- uses: prometheus/[email protected]
- uses: ./.github/promci/actions/publish_release
with:
github_token: ${{ secrets.TOKEN }}