Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/FerroO2000/acmelib into main
Browse files Browse the repository at this point in the history
  • Loading branch information
FerroO2000 committed Apr 10, 2024
2 parents d1b1b7b + 9e50fb5 commit 240c450
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/go_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Go tests

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21', '1.22']

steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Install dependencies
run: go get .

- name: Test
run: go test -json > TestResults-${{ matrix.go-version }}.json

- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# acmelib

[![Go Reference](https://pkg.go.dev/badge/github.com/FerroO2000/acmelib.svg)](https://pkg.go.dev/github.com/FerroO2000/acmelib)

A [Golang](https://go.dev/) package for modelling complex CAN networks.

The package documentation can be found [here](https://pkg.go.dev/github.com/FerroO2000/acmelib).
Expand All @@ -11,7 +13,7 @@ The package documentation can be found [here](https://pkg.go.dev/github.com/Ferr
Run the following Go command to install the `acmelib` package:

```sh
$ go get -u github.com/FerroO2000/acmelib
go get -u github.com/FerroO2000/acmelib
```

## TODOs
Expand Down

0 comments on commit 240c450

Please sign in to comment.