[server] Support for storing preview files #490
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Lint (server)" | |
on: | |
# Run on every pull request (open or push to it) that changes server/ | |
pull_request: | |
paths: | |
- "server/**" | |
- ".github/workflows/server-lint.yml" | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: server | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: server/go.mod | |
cache-dependency-path: server/go.sum | |
cache: true | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install libsodium-dev | |
- name: Lint | |
run: "./scripts/lint.sh" |