feat: fuzzy search status command #875
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 | |
on: | |
push: | |
pull_request: | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install bgpq4 and bird2 | |
run: | | |
wget http://ftp.us.debian.org/debian/pool/main/b/bgpq4/bgpq4_0.0.6-2_amd64.deb | |
sudo dpkg -i bgpq4*.deb | |
sudo apt install -y bird2 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
cache: false | |
- uses: actions/checkout@v3 | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
with: | |
args: -E gosec | |
- run: go get -v -t -d ./... | |
- run: sudo chown $(whoami):$(whoami) /run/bird/bird.ctl | |
- run: sudo chown -R $(whoami):$(whoami) /etc/bird/ | |
- run: go generate -x | |
- run: go build -v . | |
- run: make dep | |
- run: make test-setup | |
- run: make test | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v1 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.txt | |
- run: make test-teardown |