Skip to content

Commit

Permalink
Add test for no auth flow
Browse files Browse the repository at this point in the history
  • Loading branch information
DeLaGuardo committed Dec 10, 2024
1 parent 9f82ca1 commit dca986f
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions .github/workflows/no_auth.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dca986f

Please sign in to comment.