[Snyk] Security upgrade urllib3 from 1.26.5 to 1.26.19 #299
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 Unit | |
on: | |
pull_request: | |
branches: | |
- '*' | |
env: | |
GO_VERSION: '1.22' | |
jobs: | |
test-unit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go ${{ env.GO_VERSION }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
- name: Avoid generating webui | |
run: touch webui/static/index.html | |
- name: Tests | |
run: make test-unit |