Simplify csrf-token handling in tests #137
Workflow file for this run
This file contains hidden or 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: Checks | |
on: | |
push: | |
branches: [ master ] | |
tags: | |
- "*" | |
pull_request: | |
branches: [ master ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/cache-clojure-deps | |
- uses: jdx/mise-action@v2 | |
with: | |
install_args: "babashka java clojure" | |
- name: Run tests | |
run: bb test | |
- name: Generate project - default | |
run: | | |
bb new | |
cd tmpl-prj | |
mise trust && mise install | |
bb lint-init && bb lint | |
bb outdated-check | |
bb test | |
- name: Generate project - daisyui | |
run: | | |
rm -rf tmpl-prj | |
bb new :daisyui true | |
cd tmpl-prj | |
mise trust && mise install | |
bb css-build | |
bb fetch-assets | |
bb css-build | |
- name: Generate project - postgres | |
run: | | |
bb new :db :postgres | |
cd tmpl-prj | |
mise trust && mise install | |
bb lint-init && bb lint | |
bb outdated-check | |
bb test | |
- name: Generate project - no deployment | |
run: | | |
bb new :deploy :none | |
cd tmpl-prj | |
mise trust && mise install | |
bb lint-init && bb lint | |
bb test |