feat: add grpc example (#66) #178
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Nix Shell Checks" | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
jobs: | |
nix-shell-run-verification: | |
name: verify nix shell simple invocation | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# Flakes do not like shallow clones | |
with: | |
fetch-depth: 0 | |
- run: ./nix-shell.sh -- --run 'nix --version' | |
nix-shell-check: | |
name: lint shell scripts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
# Flakes do not like shallow clones | |
with: | |
fetch-depth: 0 | |
- name: Run ShellCheck | |
uses: ludeeus/action-shellcheck@master | |
env: | |
SHELLCHECK_OPTS: -s sh -s bash -s dash -s ksh -o all | |
with: | |
# Synced with shellcheck in used nixpkgs | |
version: v0.7.2 |