Skip to content

add testing files

add testing files #93

Workflow file for this run

name: Tag version
concurrency: tag
on:
workflow_dispatch:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@master
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v3
name: Checkout
- run: |
echo -n "nh_version=v" >> "$GITHUB_ENV"
nix run nixpkgs#fq -- -r ".package.version" Cargo.toml >> "$GITHUB_ENV"
cat "$GITHUB_ENV"
name: Read version
- name: Tag
run: |
set -x
git tag $nh_version
git push --tags || :