bitwindow: create denials #97
Workflow file for this run
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: Drivechain Server | |
on: | |
pull_request: | |
branches: [master] | |
paths: | |
- 'servers/**' | |
- '.github/workflows/**' | |
defaults: | |
run: | |
working-directory: servers/bitwindow | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: bufbuild/[email protected] | |
- uses: bufbuild/[email protected] | |
with: | |
input: servers/bitwindow | |
- name: verify Proto files are formatted correctly | |
run: buf format --exit-code proto | |
go-lint: | |
name: go-lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
working-directory: servers/bitwindow | |
version: latest | |
go-build: | |
name: go-build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
working-directory: servers/bitwindow | |
steps: | |
- uses: extractions/setup-just@v1 | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- name: Build bitwindowd | |
run: | | |
just build-go | |
mv bin/bitwindowd bin/bitwindowd-${{ runner.os }} | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: bitwindowd-${{ runner.os }} | |
path: servers/bitwindow/bin | |
if-no-files-found: error |