ekristen/gcp-nuke

View on GitHub
.github/workflows/tests.yml

Summary

Maintainability
Test Coverage
name: tests
on:
  pull_request:
    branches:
      - main
      - next
jobs:
  test:
    name: test
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-go@v5
        with:
          go-version: 1.23.x
      - name: download go mods
        run: |
          go mod download
      - name: run go tests
        run: |
          go test -timeout 60s -run ./...