Things would be so much easier if ubuntu just updated their packages * ci: Attempt to fix Linux workflows See if Copilot is worth its snuff * Revert * Try downgrading vipsgen instead * Try again * Try to install vips from source * Sigh, ok try building from source * Sigh * sighhhh * Sighhhhhhhhhhhhhhhhhhhh * Try without cache for a moment * Try caching again * Try composite action * Try again? * Set shell on composite action steps... * Update a couple other workflows * Try to fix test job * Some cleanup * Add heif * Oops * Pointless comment but let's see if the cache worked * Fix go builds * Try installing pkg-config I guess? * Try more pkg config paths? * Tweak * Are we there yet * One more tweak * Rename some things
30 lines
606 B
YAML
30 lines
606 B
YAML
name: lint
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
types: [opened, reopened, synchronize, ready_for_review]
|
|
|
|
permissions:
|
|
contents: read
|
|
pull-requests: read
|
|
|
|
jobs:
|
|
golangci:
|
|
if: github.event.pull_request.draft == false
|
|
name: lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: stable
|
|
check-latest: true
|
|
|
|
- uses: ./.github/actions/compile-libvips-linux
|
|
if: runner.os == 'Linux'
|
|
|
|
- name: golangci-lint
|
|
uses: golangci/golangci-lint-action@v8
|