Skip to content

chore(deps): update 🤖 github actions to ff15f03 #61

chore(deps): update 🤖 github actions to ff15f03

chore(deps): update 🤖 github actions to ff15f03 #61

Workflow file for this run

name: Tests
on:
workflow_dispatch:
push:
# Publish the `master` branch.
branches:
- main
# Publish `v1.2.3` tags as releases.
tags:
- v*
pull_request:
branches:
- main
env:
TSS_TENANT: ${{ secrets.TSS_TENANT }}
TSS_USERNAME: ${{ secrets.TSS_USERNAME }}
TSS_PASSWORD: ${{ secrets.TSS_PASSWORD }}
TSS_SECRET_ID: ${{ secrets.TSS_SECRET_ID }}
TSS_TEMPLATE_ID: ${{ secrets.TSS_TEMPLATE_ID }}
TSS_FOLDER_ID: ${{ secrets.TSS_FOLDER_ID }}
TSS_SITE_ID: ${{ secrets.TSS_SITE_ID }}
TSS_SSH_KEY_TEMPLATE_ID: ${{ secrets.TSS_SSH_KEY_TEMPLATE_ID }}
TSS_TEST_PASSWORD: ${{ secrets.TSS_TEST_PASSWORD }}
TSS_SEARCH_FIELD: ${{ secrets.TSS_SEARCH_FIELD }}
TSS_SEARCH_TEXT: ${{ secrets.TSS_SEARCH_TEXT }}
TSS_PLATFORM_USERNAME: ${{ secrets.TSS_PLATFORM_USERNAME }}
TSS_PLATFORM_PASSWORD: ${{ secrets.TSS_PLATFORM_PASSWORD }}
TSS_PLATFORM_URL: ${{ secrets.TSS_PLATFORM_URL }}
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3
with:
go-version: 1.13
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .
- name: Test
run: go test ./...