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 213d6cc commit defc79d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
# 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'
- name: Build it
run: |
go version
echo ""
go build -v

0 comments on commit defc79d

Please sign in to comment.