Skip to content

sysfs: tolerate EFBIG when reading cpufreq stats/trans_table #217

sysfs: tolerate EFBIG when reading cpufreq stats/trans_table

sysfs: tolerate EFBIG when reading cpufreq stats/trans_table #217

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [master, 'release-*']
tags: ['v*']
permissions:
contents: read
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: 1.26.x
- run: make check_license
- run: ./scripts/check_build_tags.sh
- run: make fixtures
- run: make update_fixtures
- run: make style
- run: git diff --exit-code
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
goos:
- linux
- windows
go:
- 1.25.x
- 1.26.x
steps:
- name: Checkout repository
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: ${{ matrix.go }}
- run: make lint
- if: matrix.goos == 'linux'
run: make test