Skip to content

build(deps): bump github/codeql-action from 3.26.10 to 3.27.6 #44

build(deps): bump github/codeql-action from 3.26.10 to 3.27.6

build(deps): bump github/codeql-action from 3.26.10 to 3.27.6 #44

Workflow file for this run

name: "Lines of code statistics"
on:
push:
branches:
- main
pull_request:
branches:
- main
release:
types:
- published
permissions: read-all
jobs:
loc:
name: Lines of code
runs-on: ubuntu-latest
steps:
- name: Install go
uses: actions/setup-go@v5
with:
cache: false
go-version: 1.22.x
- name: Check out source code
uses: actions/checkout@v4
- name: Install dependencies
run: |
cd $GITHUB_WORKSPACE
go install github.com/hhatto/gocloc/cmd/gocloc@latest
- name: All sources
run: |
cd $GITHUB_WORKSPACE
gocloc .
- name: All sources (except tests)
run: |
cd $GITHUB_WORKSPACE
gocloc --not-match='.*_test.go' .