diff --git a/.github/workflows/deploy.yml b/.github/workflows/release.yml similarity index 89% rename from .github/workflows/deploy.yml rename to .github/workflows/release.yml index d03183a..6b7264c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deploy +name: Release on: push: @@ -6,12 +6,11 @@ on: - .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 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a08ac48 --- /dev/null +++ b/.github/workflows/test.yml @@ -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 ./...