Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/actionlint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@
name: Action Lint
on:
pull_request:
branches: ['main']
branches:
- 'main'
paths:
- '.github/workflows/**'
- '.github/actions/**'

push:
branches: ['main']
branches:
- 'main'
paths:
- '.github/workflows/**'
- '.github/actions/**'
Expand All @@ -21,8 +23,9 @@ jobs:
action-lint:
permissions:
contents: read # Clone the repository
name: Action lint

runs-on: ubuntu-latest

steps:
- uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@ name: ci

on:
pull_request:
branches: ['main']
branches:
- 'main'
push:
branches: ['main']
branches:
- 'main'

permissions: {}

jobs:
build:
name: build
runs-on: ubuntu-latest

permissions:
contents: read

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@82606bf257cbaff209d206a39f5134f0cfbfd2ee # v9.2.1
with:
version: v2.11
version: v2.12
9 changes: 6 additions & 3 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ name: Zizmor

on:
pull_request:
branches: ['main']
branches:
- 'main'
paths:
- '.github/workflows/**'
- '.github/actions/**'
- '.github/dependabot.yml'
- '.github/zizmor.yml'
push:
branches: ['main']
branches:
- 'main'
paths:
- '.github/workflows/**'
- '.github/actions/**'
Expand All @@ -23,12 +25,13 @@ permissions: {}

jobs:
zizmor:
name: Zizmor
runs-on: ubuntu-latest

permissions:
actions: read # Required by codeql-action/upload-sarif to get workflow run info
contents: read # Clone the repository
security-events: write # Upload SARIF results to Code Scanning

steps:
- uses: step-security/harden-runner@9af89fc71515a100421586dfdb3dc9c984fbf411 # v2.19.4
with:
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ linters:
- gocyclo
- goheader
- gomoddirectives
- gomodguard
- gomodguard_v2
- goprintffuncname
- gosec
- govet
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/chainguard-dev/go-pkgconfig

go 1.20
go 1.25

require (
github.com/ijt/goparsify v0.0.0-20221203142333-3a5276334b8d
Expand Down