github.com/alwitt/goutils@v0.6.4/.gitlab-ci.yml (about)

     1  image: golang:1.20.1
     2  
     3  stages:
     4    - test
     5  
     6  cicd:
     7    stage: test
     8    variables:
     9      UNITTEST_GCP_PROJECT_ID: cicd-389504
    10      GOOGLE_APPLICATION_CREDENTIALS: .secure_files/gcp-cicd-pubsub-sa-creds.json
    11      GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES: "1"
    12    script:
    13      - curl --silent "https://gitlab.com/gitlab-org/incubation-engineering/mobile-devops/download-secure-files/-/raw/main/installer" | bash
    14      - go fmt $(go list ./...)
    15      - go vet $(go list ./...)
    16      - go test ./...