Skip to content

Commit

Permalink
Update main.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslawc authored May 24, 2024
1 parent 0af977c commit d4bdf94
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,37 @@
name: Sample Tests
on:
push:
paths-ignore:
- "docs/**"
- "release/**"
- "deployments/**"
pull_request:
paths-ignore:
- "docs/**"
- "release/**"
- "deployments/**"

jobs:
tests:
name: Sample Tests
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '>=1.22.2'
- name: Build
run: go build -o bin/nmath
shell: bash
- name: Test
run: bin/nmath > test.log
- name: Archive logs
if: always()
uses: actions/upload-artifact@v4
with:
name: test.log
path: test.log
compression-level: 0

0 comments on commit d4bdf94

Please sign in to comment.