Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/semver.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: Check semver
on:
pull_request:
Comment thread
Not-Nik marked this conversation as resolved.
merge_group:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
semver:
name: Check semver
runs-on: ubuntu-24.04
timeout-minutes: 20
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
fetch-depth: 1
fetch-tags: true
sparse-checkout: min_version.txt
sparse-checkout-cone-mode: false
Comment thread
Not-Nik marked this conversation as resolved.

- name: Get latest tag
id: tag
run: |
echo "ref=$(git tag --sort=-creatordate | head -n 1)" >> "$GITHUB_OUTPUT"
Comment thread
Not-Nik marked this conversation as resolved.
Outdated

- uses: mozilla/actions/nss@25cb84d060946c0ad6d2c3f79da479b16d180d71 # v1.1.0
with:
version-file: min_version.txt
token: ${{ secrets.GITHUB_TOKEN }}

- uses: mozilla/actions/semver@a832d8ca9b69e2c0f166d430a40d8d2affceb075

Check notice

Code scanning / zizmor

action's hash pin has mismatched or missing version comment Note

action's hash pin has mismatched or missing version comment
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
with:
base-ref: ${{ steps.tag.outputs.ref }}
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "nss-rs"
version = "0.8.0"
version = "0.9.0"
authors = ["Martin Thomson <mt@lowentropy.net>", "Andy Leiserson <aleiserson@mozilla.com>", "John M. Schanck <jschanck@mozilla.com>", "Benjamin Beurdouche <beurdouche@mozilla.com>", "Anna Weine <anna.weine@mozilla.com>"]
categories = ["network-programming", "web-programming"]
keywords = ["nss", "crypto", "mozilla", "firefox"]
Expand Down
Loading