Skip to content

support different image preview modes #116

support different image preview modes

support different image preview modes #116

Workflow file for this run

# This workflow runs tests and linters.
name: check
on:
push:
paths-ignore:
- "README.md"
- "docs/**"
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.22.*"
- uses: golangci/golangci-lint-action@v3
with:
version: v1.57.2
args: "-v"
# TODO: use an alpine image to mimic the production environment?
test:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.22.*"
- run: sudo apt-get update && sudo apt-get install libvips-tools
- run: curl https://rclone.org/install.sh | sudo bash -s beta
- run: make test