Compare commits
3 Commits
aa59067bb3
..
v1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
601c9677b7
|
|||
|
4d90e52c36
|
|||
|
55c8fc0a4f
|
@@ -94,25 +94,20 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: List artifacts
|
|
||||||
run: ls -la artifacts/
|
|
||||||
|
|
||||||
- name: Determine tag
|
- name: Determine tag
|
||||||
id: tag
|
id: tag
|
||||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ github.ref_name }}
|
tag_name: ${{ github.ref_name }}
|
||||||
name: RustLock v${{ steps.tag.outputs.VERSION }}
|
name: RustLock v${{ steps.tag.outputs.VERSION }}
|
||||||
draft: true
|
draft: true
|
||||||
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
|
prerelease: ${{ contains(github.ref_name, 'alpha') || contains(github.ref_name, 'beta') }}
|
||||||
files: |
|
files: |
|
||||||
artifacts/rustlock-default-ubuntu/rustlock
|
artifacts/rustlock-default-ubuntu/rustlock/rustlock:rustlock-default-ubuntu
|
||||||
artifacts/rustlock-no-networking-ubuntu/rustlock
|
artifacts/rustlock-no-networking-ubuntu/rustlock/rustlock:rustlock-no-networking-ubuntu
|
||||||
artifacts/rustlock-default-debian/rustlock
|
artifacts/rustlock-default-debian/rustlock/rustlock:rustlock-default-debian
|
||||||
artifacts/rustlock-default-fedora/rustlock
|
artifacts/rustlock-default-fedora/rustlock/rustlock:rustlock-default-fedora
|
||||||
artifacts/rustlock-default-arch/rustlock
|
artifacts/rustlock-default-arch/rustlock/rustlock:rustlock-default-arch
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
|
|||||||
@@ -1,70 +1,10 @@
|
|||||||
# Cargo-deny configuration for RustLock
|
|
||||||
# See: https://embarkstudios.github.io/cargo-deny/
|
|
||||||
|
|
||||||
[advisories]
|
[advisories]
|
||||||
# Check for security vulnerabilities
|
|
||||||
vulnerability = "deny"
|
vulnerability = "deny"
|
||||||
# Check for unmaintained crates
|
ignore = []
|
||||||
unmaintained = "warn"
|
|
||||||
# Check for unsound crates
|
|
||||||
unsound = "deny"
|
|
||||||
# Check for yanked crates
|
|
||||||
yanked = "deny"
|
|
||||||
# Ignore specific advisories
|
|
||||||
ignore = [
|
|
||||||
# Add specific advisory IDs to ignore here if needed
|
|
||||||
]
|
|
||||||
|
|
||||||
# Sources for advisory database
|
|
||||||
[advisories.db]
|
|
||||||
# Use GitHub advisory database
|
|
||||||
github-data = "https://github.com/rustsec/advisory-db"
|
|
||||||
# Update frequency (daily)
|
|
||||||
update-frequency = "daily"
|
|
||||||
|
|
||||||
[bans]
|
[bans]
|
||||||
# Multiple versions of the same crate
|
|
||||||
multiple-versions = "allow"
|
multiple-versions = "allow"
|
||||||
# Wildcard dependencies (e.g., "1.*")
|
|
||||||
wildcards = "deny"
|
|
||||||
|
|
||||||
# Skip specific crates from checks
|
|
||||||
skip = [
|
|
||||||
# Add crate names to skip here if needed
|
|
||||||
]
|
|
||||||
|
|
||||||
[licenses]
|
|
||||||
# Default license policy
|
|
||||||
default = "deny"
|
|
||||||
# Allow these licenses
|
|
||||||
allow = [
|
|
||||||
"MIT",
|
|
||||||
"Apache-2.0",
|
|
||||||
"BSD-2-Clause",
|
|
||||||
"BSD-3-Clause",
|
|
||||||
"ISC",
|
|
||||||
"Zlib",
|
|
||||||
"Unlicense",
|
|
||||||
"CC0-1.0",
|
|
||||||
"MPL-2.0",
|
|
||||||
"AGPL-3.0-or-later", # Our own license
|
|
||||||
]
|
|
||||||
# Copyleft licenses that require special attention
|
|
||||||
copyleft = "warn"
|
|
||||||
# Unknown licenses
|
|
||||||
unlicensed = "deny"
|
|
||||||
|
|
||||||
# Skip specific crates from license checks
|
|
||||||
skip = [
|
|
||||||
# Add crate names to skip here if needed
|
|
||||||
]
|
|
||||||
|
|
||||||
[sources]
|
[sources]
|
||||||
# Allow only these registries
|
|
||||||
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
allow-registry = ["https://github.com/rust-lang/crates.io-index"]
|
||||||
# Deny git repositories (except for specific cases)
|
|
||||||
allow-git = []
|
allow-git = []
|
||||||
|
|
||||||
[metadata]
|
|
||||||
# Minimum severity level to display
|
|
||||||
severity-threshold = "low"
|
|
||||||
Reference in New Issue
Block a user