1
0
Fork 0
Commit graph

6 commits

Author SHA1 Message Date
Matt Holt
41361913d1
ci: Attempt fix Linux workflows related to old libvips (#129)
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
2025-10-08 14:21:38 -06:00
JP Hastings-Edrei
27a2f462cf
lint: bump golangci-lint version (#92)
* lint: bump golangci-lint version

- Bumps the version of golangci-lint that's used in the Github Action to be the most recent version (as installed with eg. `brew install golangci-lint` — v2.1.6)
- Migrates the `.golangci.toml` file, and manually moves the comments over
- `errchkjson` appears to work now, so added that back into the linter (the `forbidigo` and `goheader` linters I've left commented out)

* lint: remove checkers we don't like

Removes two static checkers that cause code changes we don't like.

* lint: remove old lint declaration

apparently `gosimple` isn't available any more, so I've removed its `nolint` declaration here.

* lint: swap location of `nolint:goconst`

This _seems_ to be an unstable declaration, because of he parallel & undeterministic nature of the linter. If this keeps causing trouble we can either remove the goconst linter, or change _both_ of these lines to hold `//nolint:goconst,nolintlint`.
2025-06-02 15:03:19 -06:00
Henry Wilkinson
54477b5163
Only run CI jobs if the PR is not in draft status (#98)
* Only run CI jobs if the PR is not in draft status

* Run on PR marked ready
2025-06-02 09:49:42 -06:00
Matt Holt
e8349ca480
ci: Fix release job (#65)
* ci: Attempt to fix goreleaser job

* Oh geez, there's a second goreleaser file

* Use just the current OS and arch

* Maybe fix the goos thing

* Try --single-target

* Oops, that's Pro-only

* Hmm let's try this

* Set token

* Wow I am lame

* Try ref_name

* Create or edit, sigh

* Syntax who needs syntax

* Hmm try this

* Another attempt, probably in vain

* Sigh, quotes

* Big changes

* oh Windows

* Starting to get annoyed at Windows

* sldfkj

* Huzzah

* Update name, et voila

* Just do it on push I guess
2025-01-31 13:43:21 -07:00
Matt Holt
628ecc1cb3
ci: Update workflows; restore functioning CI jobs (#64)
* ci: Attempt to fix broken CI

It broke out of the blue several months ago. I think ubuntu-latest
updated, but there's no PPA for libheif in that distro I guess

* Try tests next

* More fixing

* Try again

* Yada yada

* Woops

* I don't really know what I'm doing
2025-01-27 22:30:54 -07:00
Sergio Rubio
988cceb4c1
ci: Add workflow to run golangci-lint (#38)
The linter config being added is pretty hardcore, we'll need to tune it
to our liking and fix the rest.
2024-08-28 14:45:47 -06:00