Compare commits

...

2 Commits

Author SHA1 Message Date
Ginger dfe690ef85 ci: Add dispatch test workflow 2026-01-12 11:30:42 -05:00
Ginger 7752dfdc8d fix(ci): Forbid our packages from being published to a crate repository 2026-01-12 11:05:56 -05:00
13 changed files with 70 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log Level'
required: true
default: 'warning'
type: choice
options:
- info
- warning
- debug
tags:
description: 'Test scenario tags'
required: false
type: boolean
boolean_default_true:
description: 'Test scenario tags'
required: true
type: boolean
default: true
boolean_default_false:
description: 'Test scenario tags'
required: false
type: boolean
default: false
number1_default:
description: 'Number w. default'
default: '100'
type: number
number2:
description: 'Number w/o. default'
type: number
string1_default:
description: 'String w. default'
default: 'Hello world'
type: string
string2:
description: 'String w/o. default'
required: true
type: string
jobs:
test:
runs-on: docker
container:
image: code.forgejo.org/oci/debian:trixie
options: "--volume /srv/example:/srv/example"
steps:
- name: save and display context
run: |
d=/srv/example/workflow-dispatch/contexts/$FORGEJO_EVENT_NAME
mkdir -p $d
tee $d/github <<'EOF'
${{ toJSON(github) }}
EOF
+2
View File
@@ -13,6 +13,8 @@ license = "Apache-2.0"
readme = "README.md"
repository = "https://forgejo.ellis.link/continuwuation/continuwuity"
version = "0.5.2"
# Do not allow publishing, we handle that ourselves
publish = false
[workspace.metadata.crane]
name = "conduwuit"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
build = "build.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
name = "conduwuit_macros"
+1
View File
@@ -9,6 +9,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
metadata.crane.workspace = true
[lib]
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -6,6 +6,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[lib]
path = "mod.rs"
+1
View File
@@ -8,6 +8,7 @@ license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true
publish.workspace = true
[dependencies]
conduwuit-admin.workspace = true