Skip to content

Commit

Permalink
Run tests on every push
Browse files Browse the repository at this point in the history
  • Loading branch information
naftalibeder committed Aug 16, 2024
1 parent 33af06c commit 854172c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: Deploy
name: Release

on:
push:
paths:
- .version

jobs:
deploy:
release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21.4"
- name: Run tests
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Test

on: push

jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.21.4"
- name: Run tests
run: go test -v ./...

0 comments on commit 854172c

Please sign in to comment.