Skip to content

Bump golang.org/x/net from 0.25.0 to 0.28.0 in /bordercontrol #603

Bump golang.org/x/net from 0.25.0 to 0.28.0 in /bordercontrol

Bump golang.org/x/net from 0.25.0 to 0.28.0 in /bordercontrol #603

Workflow file for this run

---
name: Testing
on:
# Enable manual running of action if necessary
workflow_dispatch:
# Test build/deploy on PRs to main
pull_request:
branches:
- main
# Don't trigger if it's just a documentation update
paths-ignore:
- '**.md'
- '**.MD'
- '**.yml'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'
- '.dockerignore'
# Test on push to main branch (for codecov)
push:
branches:
- main
# Don't trigger if it's just a documentation update
paths-ignore:
- '**.md'
- '**.MD'
- '**.yml'
- 'LICENSE'
- '.gitattributes'
- '.gitignore'
- '.dockerignore'
jobs:
go-test:
name: Run go tests
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker
run: |
curl -fsSL https://get.docker.com -o /tmp/install-docker.sh
sudo sh /tmp/install-docker.sh
-
uses: actions/setup-go@v5
with:
go-version: 'stable'
check-latest: true
cache-dependency-path: |
bordercontrol/go.sum
-
name: go mod tidy
run: |
pushd bordercontrol
go version
go mod tidy
-
name: go test
run: |
pushd bordercontrol
go version
go test -exec sudo -v -timeout 15m -failfast -race -count=2 -coverprofile=../coverage.out -covermode=atomic ./...
-
name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
test-build:
name: Test build
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build bordercontrol
uses: docker/build-push-action@v5
with:
push: false
file: ./Dockerfile.bordercontrol
-
name: Build feed-in
uses: docker/build-push-action@v5
with:
push: false
context: ./feed-in
file: ./feed-in/Dockerfile.feeder
-
name: Build mlat-server
uses: docker/build-push-action@v5
with:
push: false
file: ./Dockerfile.mlat-server