chore: add github action
parent
b4c9901682
commit
6010f090b3
|
@ -0,0 +1,10 @@
|
||||||
|
version: 2
|
||||||
|
updates:
|
||||||
|
- package-ecosystem: "gomod"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
||||||
|
- package-ecosystem: "github-actions"
|
||||||
|
directory: "/"
|
||||||
|
schedule:
|
||||||
|
interval: "daily"
|
|
@ -0,0 +1,45 @@
|
||||||
|
name: Go
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "**.go"
|
||||||
|
- "go.mod"
|
||||||
|
- "go.sum"
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
paths:
|
||||||
|
- "**.go"
|
||||||
|
- "go.mod"
|
||||||
|
- "go.sum"
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}-${{ github.ref }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
name: Test
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: "stable"
|
||||||
|
- run: go test -race -failfast ./...
|
||||||
|
golangci-lint:
|
||||||
|
name: golangci-lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: actions/setup-go@v4
|
||||||
|
with:
|
||||||
|
go-version: "stable"
|
||||||
|
- uses: golangci/golangci-lint-action@v3
|
||||||
|
with:
|
||||||
|
version: latest
|
1
Makefile
1
Makefile
|
@ -1,6 +1,7 @@
|
||||||
.PHONY: all format clean go dztech_dz60rgb_wkl
|
.PHONY: all format clean go dztech_dz60rgb_wkl
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
qmk setup -H ~/qmk_firmware
|
||||||
qmk git-submodule
|
qmk git-submodule
|
||||||
qmk doctor
|
qmk doctor
|
||||||
$(MAKE) format
|
$(MAKE) format
|
||||||
|
|
|
@ -2,11 +2,6 @@
|
||||||
|
|
||||||
Before doing anything, please check QMK first:
|
Before doing anything, please check QMK first:
|
||||||
|
|
||||||
```sh
|
|
||||||
qmk git-submodule
|
|
||||||
qmk doctor
|
|
||||||
```
|
|
||||||
|
|
||||||
## [dztech/dz60rgb_wkl](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dztech/dz60rgb_wkl)
|
## [dztech/dz60rgb_wkl](https://github.com/qmk/qmk_firmware/tree/master/keyboards/dztech/dz60rgb_wkl)
|
||||||
|
|
||||||
> V2.1: ATmega32U4 (AVR), takes .bin files Started shipping in June 2021 as a slightly modified version of v2.
|
> V2.1: ATmega32U4 (AVR), takes .bin files Started shipping in June 2021 as a slightly modified version of v2.
|
||||||
|
@ -120,4 +115,3 @@ go install github.com/haunt98/qmk_keymaps/cmd/qmkasciigen@latest
|
||||||
- [ ] Use flag
|
- [ ] Use flag
|
||||||
- [ ] Add docs
|
- [ ] Add docs
|
||||||
- [ ] Get data directly from qmk
|
- [ ] Get data directly from qmk
|
||||||
- [ ] Build using Dockerfile
|
|
||||||
|
|
Loading…
Reference in New Issue