This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
Linting & Formatting #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Action for running Go tests | |
# Author: Andrew Jarombek | |
# Date: 9/21/2022 | |
name: Go Tests | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
workflow_dispatch: | |
jobs: | |
go_tests: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
container: ajarombek/go-alpine-linux-programming:latest | |
steps: | |
- run: echo "Job running on a ${{ runner.os }} server" | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- run: echo "Checked out branch '${{ github.ref }}' of the ${{ github.repository }} repository" | |
- name: Files installed from repository | |
run: ls -ltra | |
- name: Run Go tests using Please Build | |
run: plz test //... -i test -vvv |