name: Test on: [push] jobs: test_service: runs-on: native steps: - name: Get branch run: nix-shell -p util-linux --command 'echo "BRANCH=$(${{ gitea.ref }} | rev | cut -d/ -f1 | rev)"' - name: Print run: echo $BRANCH