Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Nightly Tests

Nightly Tests #1001

Workflow file for this run

# SPDX-FileCopyrightText: 2020, 2021 Alvar Penning
# SPDX-FileCopyrightText: 2022, 2023 Markus Sommer
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Nightly Tests
on:
schedule:
- cron: '0 3 * * *'
jobs:
golang:
name: Build and test dtn7-go
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.20' ]
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go }}
- name: Check out code
uses: actions/checkout@v3
- name: Build on Go ${{ matrix.go }}
run: go build ./...
- name: Test
run: go test -race -p 1 ./...