fix: lint #1443
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
unit: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
cache: true | |
go-version: 'stable' | |
- name: Install dependencies | |
run: sudo apt-get install -y curl jq | |
- name: Set up environment | |
run: | | |
cp config.example.yml config.yml | |
- name: Run tests | |
run: sudo go test ./... |