Bump github.com/docker/docker from 25.0.5+incompatible to 26.1.2+incompatible in /src #2432
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
# Go Tests | |
name: Go Tests | |
on: | |
push: | |
paths: | |
- src/** | |
pull_request: | |
branches: | |
- main | |
- release/** | |
- test/** | |
- tests/** | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install CCom | |
run: | | |
curl -fsSL https://server.chillibits.com/files/repo/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb https://admin.repo.chillibits.com/repository/ubuntu-$(lsb_release -cs) $(lsb_release -cs) main" | |
sudo apt-get update | |
sudo apt-get install ccom | |
- name: Run tests | |
working-directory: src | |
run: go test ./... -race -coverprofile=coverage.txt -covermode=atomic | |
- name: Upload coverage to Codecov | |
run: bash <(curl -s https://codecov.io/bash) | |
- name: Install GoSec | |
run: curl -sfL https://raw.githubusercontent.com/securego/gosec/v2.17.0/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.17.0 | |
- name: Run security scan | |
working-directory: src | |
run: gosec -exclude=G307 ./... |