feat(bluetooth): bluetooth/network/connect event #9
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: Build nocturned | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**/README.md' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v30 | |
with: | |
extra_nix_config: | | |
trusted-public-keys = nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nocturne:C3rx7XJOGGbybHbYZ+Y2ucq5yavdjRD7K3Me0oirsTY= | |
trusted-substituters = https://nix-community.cachix.org https://cache.nixos.org https://attic.svrd.me/nocturne | |
substituters = https://nix-community.cachix.org https://cache.nixos.org https://attic.svrd.me/nocturne | |
github_access_token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Check Nix flake | |
run: nix flake check | |
- name: Build nocturned | |
run: GOOS=linux GOARCH=arm64 go build | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: nocturned | |
path: nocturned | |
compression-level: 9 | |
if-no-files-found: error |