use rclone rcd
instead of rclone serve
, describe advanced setup w…
#106
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
# This workflow runs tests and linters. | |
name: check | |
on: | |
push: | |
paths-ignore: | |
- "README.md" | |
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 | |
- run: make test |