This repository has been archived by the owner on Apr 5, 2024. It is now read-only.
Nightly Tests #1001
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
# 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 ./... |