chore(deps): bump rojopolis/spellcheck-github-actions #456
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
name: "Test" | |
# Run this workflow every time a new commit pushed to your repository | |
on: push | |
env: | |
GOLANG_VERSION: "1.21.x" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, windows-latest, macOS-latest ] | |
name: test code base | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Configure Git for private modules | |
shell: bash | |
env: | |
GITHUB_API_TOKEN: ${{ secrets.GH_API_TOKEN }} | |
run: git config --global url."https://x:${GITHUB_API_TOKEN}@github.com".insteadOf "https://github.com" | |
- name: Install Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ env.GOLANG_VERSION }} | |
- name: Run unit tests | |
run: go test -p=1 -v ./... |