Skip to content

Commit 8282b81

Browse files
authored
Merge pull request #138 from xsnippet/nightly
Tag pre-releases as "nightly" rather than "latest"
2 parents 2438db9 + 03b33fa commit 8282b81

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
echo "::set-output name=title::${GITHUB_REF#refs/tags/}"
3232
else
3333
echo "::set-output name=prerelease::true"
34-
echo "::set-output name=release_tag::latest"
34+
echo "::set-output name=release_tag::nightly"
3535
echo "::set-output name=title::Development Build"
3636
fi
3737

src/web/auth/jwt.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,15 @@ impl Jwks {
3737
#[derive(Debug, Deserialize)]
3838
struct Claims {
3939
/// Audience (who or that the token is intended for). E.g. "https://api.xsnippet.org".
40+
#[allow(unused)]
4041
aud: String,
4142
/// Issuer (who created and signed this token). E.g. "https://xsnippet.eu.auth0.com/".
43+
#[allow(unused)]
4244
iss: String,
4345
/// Subject (whom the token refers to). E.g. "[email protected]".
4446
sub: String,
4547
/// Expiration time (seconds since Unix epoch).
48+
#[allow(unused)]
4649
exp: usize,
4750
/// Subject permissions (e.g. vec!["import"])
4851
permissions: Vec<Permission>,

0 commit comments

Comments
 (0)