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
2 changes: 1 addition & 1 deletion .github/workflows/codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: '1.26'

- name: Codecov
uses: codecov/codecov-action@v2
Expand Down
36 changes: 18 additions & 18 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"
name: 'CodeQL'

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]
schedule:
- cron: '32 20 * * 2'

Expand All @@ -31,24 +31,24 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'go' ]
language: ['go']

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.26'

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v2
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
29 changes: 14 additions & 15 deletions .github/workflows/release_binary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,26 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: '1.26'

- name: Install dependencies
run: |
sudo apt update && sudo apt install --no-install-recommends libvips-dev -y

- name: Make
run: |
make

- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: webp-server-linux-amd64
path: builds/webp-server-linux-amd64


build-arm64:
name: Create ARM64 Binary
runs-on: ubuntu-22.04-arm # Using 22.04 of ubuntu to get the lowest version of glibc
Expand All @@ -47,22 +46,22 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.25'
go-version: '1.26'

- name: Install dependencies
run: |
sudo apt update && sudo apt install --no-install-recommends libvips-dev -y

- name: Make
run: |
make

- name: Upload Binary
uses: actions/upload-artifact@v4
with:
name: webp-server-linux-arm64
path: builds/webp-server-linux-arm64

release-binary:
name: Release Binary
runs-on: ubuntu-latest
Expand All @@ -72,24 +71,24 @@ jobs:
uses: actions/download-artifact@v4
with:
name: webp-server-linux-amd64

- name: Download Binaries
uses: actions/download-artifact@v4
with:
name: webp-server-linux-arm64

- name: Get SHA256
run: |
sha256sum webp-server-linux-amd64 > webp-server-linux-amd64.sha256
sha256sum webp-server-linux-arm64 >webp-server-linux-arm64.sha256

- uses: "marvinpinto/action-automatic-releases@latest"
- uses: 'marvinpinto/action-automatic-releases@latest'
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
repo_token: '${{ secrets.GITHUB_TOKEN }}'
prerelease: true
title: "WebP Server Go"
title: 'WebP Server Go'
files: |
webp-server-linux-amd64
webp-server-linux-amd64.sha256
webp-server-linux-arm64
webp-server-linux-arm64.sha256
webp-server-linux-arm64.sha256
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25-trixie AS builder
FROM golang:1.26-trixie AS builder

ARG IMG_PATH=/opt/pics
ARG EXHAUST_PATH=/opt/exhaust
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.CI
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.25-trixie AS builder
FROM golang:1.26-trixie AS builder

ARG IMG_PATH=/opt/pics
ARG EXHAUST_PATH=/opt/exhaust
Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var (
PrefetchForeground bool // Standalone prefetch, prefetch and exit
AllowNonImage bool
Config = NewWebPConfig()
Version = "0.14.3"
Version = "0.14.4"
WriteLock = cache.New(5*time.Minute, 10*time.Minute)
ConvertLock = cache.New(5*time.Minute, 10*time.Minute)
LocalHostAlias = "local"
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 webp_server_go

go 1.25
go 1.26

require (
github.com/buckket/go-blurhash v1.1.0
Expand Down
Loading