feat(#283): expose WirelessHardwareEnabled through API
#719
This file contains hidden or 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 Derivation | |
| on: | |
| pull_request: | |
| branches: [ master ] | |
| push: | |
| branches: [ master, 2.x-dev ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v31 | |
| - name: Install Rust | |
| uses: actions-rs/toolchain@v1 | |
| with: | |
| toolchain: stable | |
| profile: minimal | |
| - name: Install fixsha | |
| run: cargo install fixsha | |
| - name: Run fixsha | |
| run: fixsha | |
| - name: Commit hash fixes | |
| if: github.event_name == 'pull_request' | |
| run: | | |
| if [[ -n $(git status -s package.nix) ]]; then | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add package.nix | |
| git commit --amend --no-edit | |
| # Rebase onto latest base branch before pushing - prevents "Base branch was modified" | |
| # when multiple PRs merge in quick succession | |
| git fetch origin ${{ github.base_ref }} | |
| git rebase origin/${{ github.base_ref }} | |
| git push --force origin HEAD:${{ github.head_ref }} | |
| fi |