diff --git a/.github/workflows/ent.yaml b/.github/workflows/ent.yaml index 6c4a38d2..02a8d01e 100644 --- a/.github/workflows/ent.yaml +++ b/.github/workflows/ent.yaml @@ -1,11 +1,16 @@ -name: Test Enterprise Faktory Features - +# This is a CI workflow that runs the test against Enterprise Edition of Faktory. +# The binary (for macos only) is avalable for download for testing purposes with each Faktory release. +permissions: + contents: read on: push: branches: - main pull_request: - +concurrency: + group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} + cancel-in-progress: true +name: enterprise jobs: test: runs-on: macos-latest @@ -32,7 +37,6 @@ jobs: FAKTORY_URL: tcp://127.0.0.1:7419 FAKTORY_ENT: true run: cargo test --locked --features ent --all-targets - doc: runs-on: ubuntu-latest steps: diff --git a/src/proto/single/mod.rs b/src/proto/single/mod.rs index a248562c..907325e4 100644 --- a/src/proto/single/mod.rs +++ b/src/proto/single/mod.rs @@ -165,7 +165,7 @@ impl JobBuilder { self } - /// Set arbitrary key-value pairs to this job's custom data hash + /// Sets arbitrary key-value pairs to this job's custom data hash. pub fn add_to_custom_data(&mut self, k: String, v: impl Into) -> &mut Self { let custom = self.custom.get_or_insert_with(HashMap::new); custom.insert(k, v.into());