Skip to content

Commit

Permalink
Don't Ask Me, I Have No Idea Why This Works Either
Browse files Browse the repository at this point in the history
Signed-off-by: Mriyam Tamuli <mbtamuli@gmail.com>
  • Loading branch information
mbtamuli committed Jan 3, 2024
1 parent 816d93e commit 0f1c8bd
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@ name: emptydirclone-unit-tests

on: [push]

defaults:
run:
working-directory: emptyDirClone

jobs:
unit-tests:
runs-on: ubuntu-latest
Expand All @@ -14,13 +10,13 @@ jobs:
go-version: [ '1.21' ]
steps:
- uses: actions/checkout@v4
working-directory: ${{ github.workspace }}
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache-dependency-path: go.sum
go-version-file: emptyDirClone/go.mod
cache-dependency-path: emptyDirClone/go.sum
- name: Display Go version
run: go version
- name: Run unit tests
run: make fmt vet
working-directory: emptyDirClone

0 comments on commit 0f1c8bd

Please sign in to comment.