Skip to content

Commit

Permalink
ci: Add first simple CI
Browse files Browse the repository at this point in the history
Just try to build with the minimum version from go.mod,
and the current "stable" version.
  • Loading branch information
ChristianTackeGSI committed Oct 30, 2024
1 parent c86c298 commit dfd6858
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
# SPDX-FileCopyrightText: 2024 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
# SPDX-License-Identifier: CC0-1.0
name: "Simple Build Test"

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '', 'stable' ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
go-version-file: 'go.mod'
- run: |
go version
go build

0 comments on commit dfd6858

Please sign in to comment.