Skip to content

Commit

Permalink
ci: ensure tests are run (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
Integralist authored Oct 19, 2023
1 parent 7aff7b3 commit b31df14
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

5 changes: 0 additions & 5 deletions .github/CODE_OF_CONDUCT.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
args: release --rm-dist
args: release --clean
env:
# GitHub sets the GITHUB_TOKEN secret automatically.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
go-version-file: 'go.mod'
- run: go mod download
- run: go build -v .
- name: Run linters
uses: golangci/golangci-lint-action@v3
with:
version: latest
generate:
name: Generate
runs-on: ubuntu-latest
Expand Down Expand Up @@ -54,6 +58,8 @@ jobs:
- '1.0.*'
- '1.1.*'
- '1.2.*'
- '1.3.*'
- '1.4.*'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand All @@ -68,5 +74,5 @@ jobs:
- env:
FASTLY_API_TOKEN: ${{ secrets.FASTLY_API_TOKEN }}
TF_ACC: "1"
run: go test -v -cover ./internal/provider/
run: make testacc
timeout-minutes: 10

0 comments on commit b31df14

Please sign in to comment.