feat(tool): setup nix flake #541
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: test and lint pullrequest changes | |
on: | |
pull_request: | |
branches: [ main, develop ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.2 | |
- name: Run tests | |
run: | | |
make plugin_ci | |
make test | |
- name: Lint programs | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.58 | |
skip-cache: true | |
skip-save-cache: true | |
install-mode: binary |