Skip to content

ci: pin golangci-lint v1.64.8 for v1 config format #4

ci: pin golangci-lint v1.64.8 for v1 config format

ci: pin golangci-lint v1.64.8 for v1 config format #4

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
defaults:
run:
working-directory: services
steps:
- uses: actions/checkout@v4
- name: Install libolm (Matrix E2E / CGO)
run: sudo apt-get update && sudo apt-get install -y libolm-dev gcc
- uses: actions/setup-go@v5
with:
go-version: "1.26.x"
cache-dependency-path: services/go.sum
- name: Test
env:
CGO_ENABLED: "1"
run: go test ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v8
env:
CGO_ENABLED: "1"
with:
version: v1.64.8
working-directory: services
gitleaks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}