Skip to content

🧹Deprecate UseSFTP and add UseSCP, SFTP on by default (#372) #386

🧹Deprecate UseSFTP and add UseSCP, SFTP on by default (#372)

🧹Deprecate UseSFTP and add UseSCP, SFTP on by default (#372) #386

name: Ensure Code is generated and Docs are compiled
on:
push:
jobs:
ensure-generate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4.1.1
with:
ref: ${{ github.ref }}
- name: Import environment variables from file
run: cat ".github/env" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v5.3.0
with:
go-version: ">=${{ env.golang-version }}"
cache: false
- run: |
make generate
if [[ -z "$(git status -s)" ]]; then
echo "OK"
else
echo "Docs have been updated, but the compiled docs have not been committed."
echo "Run 'make build-docs', and commit the result to resolve this error."
exit 1
fi