Skip to content

Commit

Permalink
Create tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyamor authored Nov 22, 2023
1 parent 8d31eb8 commit 6e1ddc9
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go Tests

on:
pull_request:
branches:
- master

jobs:
build:
name: Run Go tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: Install dependencies
run: go mod download

- name: Run tests
run: go test ./..

0 comments on commit 6e1ddc9

Please sign in to comment.