Skip to content

Commit dca986f

Browse files
committed
Add test for no auth flow
1 parent 9f82ca1 commit dca986f

File tree

1 file changed

+56
-0
lines changed

1 file changed

+56
-0
lines changed

.github/workflows/no_auth.yml

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
name: No Auth test
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
no-auth-tests:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@main
15+
16+
- name: Prepare java
17+
uses: actions/setup-java@v3
18+
with:
19+
distribution: "temurin"
20+
java-version: "21"
21+
22+
- name: Install all the tools
23+
uses: ./
24+
with:
25+
cli: latest
26+
lein: latest
27+
boot: latest
28+
bb: latest
29+
clj-kondo: latest
30+
cljstyle: latest
31+
zprint: latest
32+
33+
# Explicit empty string should trigger "no auth" workflow
34+
# this will not set Authorisation header for any GitHub API http calls
35+
github-token: ''
36+
37+
- name: Check Clojure CLI
38+
run: clojure -Sdescribe
39+
40+
- name: Check leiningen version
41+
run: lein version
42+
43+
- name: Check boot version
44+
run: boot -V
45+
46+
- name: Check babashka version
47+
run: bb --version
48+
49+
- name: Check clj-kondo version
50+
run: clj-kondo --version
51+
52+
- name: Check cljstyle version
53+
run: cljstyle version
54+
55+
- name: Check zprint version
56+
run: zprint --version

0 commit comments

Comments
 (0)