Add test for no auth flow

This commit is contained in:
Kirill Chernyshov 2024-12-10 11:42:14 +01:00
parent 9f82ca12fd
commit dca986fe7d
No known key found for this signature in database
GPG Key ID: 83C196363AF97C4C

56
.github/workflows/no_auth.yml vendored Normal file
View File

@ -0,0 +1,56 @@
name: No Auth test
on:
push:
branches:
- main
jobs:
no-auth-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@main
- name: Prepare java
uses: actions/setup-java@v3
with:
distribution: "temurin"
java-version: "21"
- name: Install all the tools
uses: ./
with:
cli: latest
lein: latest
boot: latest
bb: latest
clj-kondo: latest
cljstyle: latest
zprint: latest
# Explicit empty string should trigger "no auth" workflow
# this will not set Authorisation header for any GitHub API http calls
github-token: ''
- name: Check Clojure CLI
run: clojure -Sdescribe
- name: Check leiningen version
run: lein version
- name: Check boot version
run: boot -V
- name: Check babashka version
run: bb --version
- name: Check clj-kondo version
run: clj-kondo --version
- name: Check cljstyle version
run: cljstyle version
- name: Check zprint version
run: zprint --version