Skip to content

Commit 1801e5c

Browse files
committed
Release v0.1.0
Signed-off-by: Xavier Lau <x@acg.box>
1 parent 6b9afa8 commit 1801e5c

35 files changed

Lines changed: 6488 additions & 901 deletions

‎.github/ruleset-default.json‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"id": 3893642,
2+
"id": 9349786,
33
"name": "default",
44
"target": "branch",
55
"source_type": "Repository",
@@ -29,7 +29,7 @@
2929
{
3030
"type": "merge_queue",
3131
"parameters": {
32-
"merge_method": "MERGE",
32+
"merge_method": "SQUASH",
3333
"max_entries_to_build": 5,
3434
"min_entries_to_merge": 1,
3535
"max_entries_to_merge": 5,
@@ -94,6 +94,12 @@
9494
"review_on_push": true,
9595
"review_draft_pull_requests": false
9696
}
97+
},
98+
{
99+
"type": "code_quality",
100+
"parameters": {
101+
"severity": "errors"
102+
}
97103
}
98104
],
99105
"bypass_actors": [

‎.github/workflows/release.yml‎

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -20,86 +20,15 @@ concurrency:
2020
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
2121

2222
jobs:
23-
build:
24-
name: Build ${{ matrix.target.name }} package
25-
runs-on: ${{ matrix.target.os }}
26-
strategy:
27-
matrix:
28-
target:
29-
[
30-
{ name: aarch64-apple-darwin, os: macos-latest },
31-
{ name: x86_64-unknown-linux-gnu, os: ubuntu-latest },
32-
{ name: x86_64-pc-windows-msvc, os: windows-latest },
33-
]
34-
steps:
35-
- name: Fetch latest code
36-
uses: actions/checkout@v5
37-
38-
- name: Setup Rust toolchain
39-
run: rustup target add ${{ matrix.target.name }}
40-
41-
- name: Build
42-
run: cargo build --profile ci-release --locked --target ${{ matrix.target.name }}
43-
44-
- name: Pack (macOS)
45-
if: matrix.target.os == 'macos-latest'
46-
run: |
47-
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
48-
zip <NAME>-${{ matrix.target.name }}.zip <NAME>
49-
50-
- name: Pack (Windows)
51-
if: matrix.target.os == 'windows-latest'
52-
run: |
53-
mv target/${{ matrix.target.name }}/ci-release/<NAME>.exe .
54-
Compress-Archive -Path <NAME>.exe -DestinationPath <NAME>-${{ matrix.target.name }}.zip
55-
56-
- name: Pack (Linux)
57-
if: matrix.target.os == 'ubuntu-latest'
58-
run: |
59-
mv target/${{ matrix.target.name }}/ci-release/<NAME> .
60-
tar -czvf <NAME>-${{ matrix.target.name }}.tar.gz <NAME>
61-
62-
- name: Upload artifact
63-
uses: actions/upload-artifact@v5
64-
with:
65-
name: <NAME>-${{ matrix.target.name }}
66-
path: <NAME>-${{ matrix.target.name }}.*
67-
retention-days: 1
68-
69-
# release:
70-
# name: Release
71-
# runs-on: ubuntu-latest
72-
# steps:
73-
# - name: Publish
74-
# uses: softprops/action-gh-release@v2
75-
# with:
76-
# discussion_category_name: Announcements
77-
# generate_release_notes: true
78-
7923
release:
8024
name: Release
8125
runs-on: ubuntu-latest
82-
needs: [build]
8326
steps:
84-
- name: Download artifacts
85-
uses: actions/download-artifact@v6
86-
87-
- name: Hash
88-
run: |
89-
mkdir -p artifacts
90-
mv <NAME>-*/* artifacts/
91-
cd artifacts
92-
sha256sum * | tee ../SHA256
93-
md5sum * | tee ../MD5
94-
mv ../SHA256 .
95-
mv ../MD5 .
96-
9727
- name: Publish
9828
uses: softprops/action-gh-release@v2
9929
with:
10030
discussion_category_name: Announcements
10131
generate_release_notes: true
102-
files: artifacts/*
10332

10433
publish-on-crates-io:
10534
name: Publish on crates.io

‎.github/workflows/staging.yml‎

Lines changed: 0 additions & 114 deletions
This file was deleted.

‎.gitignore‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,19 @@ __pycache__
1717

1818
## Rust
1919
target
20+
debug
21+
release
22+
*.rs.bk
23+
*.rlib
24+
*.prof*
25+
.idea/
2026

2127
# System
2228
.DS_Store
2329

2430
# General Ignores
2531
*.bak
32+
.env*
33+
*.log
2634
.env
2735
tmp

‎AGENTS.md‎

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# jwks-cache Development Guidelines
2+
3+
Auto-generated from all feature plans. Last updated: 2025-11-01
4+
5+
## Active Technologies
6+
7+
- Rust (stable, edition 2021) + `jsonwebtoken` 9.x, `reqwest` 0.12, `tokio` 1.x, `http-cache-semantics`, `tracing`, `metrics` facade with exporter adapters, optional `redis` feature, `wiremock` (tests) (001-build-jwks-cache)
8+
9+
## Project Structure
10+
11+
```text
12+
src/
13+
tests/
14+
```
15+
16+
## Commands
17+
18+
cargo test [ONLY COMMANDS FOR ACTIVE TECHNOLOGIES][ONLY COMMANDS FOR ACTIVE TECHNOLOGIES] cargo clippy
19+
20+
## Code Style
21+
22+
Rust (stable, edition 2021): Follow standard conventions
23+
24+
## Recent Changes
25+
26+
- 001-build-jwks-cache: Added Rust (stable, edition 2021) + `jsonwebtoken` 9.x, `reqwest` 0.12, `tokio` 1.x, `http-cache-semantics`, `tracing`, `metrics` facade with exporter adapters, optional `redis` feature, `wiremock` (tests)
27+
28+
<!-- MANUAL ADDITIONS START -->
29+
<!-- MANUAL ADDITIONS END -->

0 commit comments

Comments
 (0)