Skip to content

Commit

Permalink
github actions for rip7560 tests
Browse files Browse the repository at this point in the history
  • Loading branch information
drortirosh committed Jun 2, 2024
1 parent fcab7d8 commit 62955f4
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: i386 linux tests

on:
push:
branches: [ master ]
branches: [ disabled ]
pull_request:
branches: [ master ]
branches: [ disabled ]
workflow_dispatch:

jobs:
Expand Down
34 changes: 34 additions & 0 deletions .github/workflows/rip7560test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: rip7560-test

on:
pull_request:
branches:

jobs:

build:
name: Run RIP-7560 tests
runs-on: ubuntu-latest
steps:

- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.22.1

- name: Cache Go dependencies
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Get dependencies
run: go mod download

- name: Test
run: go test ./rip7560

0 comments on commit 62955f4

Please sign in to comment.