Merge pull request #53 from Kovah/dependabot/npm_and_yarn/npm-minor-d… #113
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 with Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.14 | |
- name: Install required packages | |
run: go mod download | |
- name: Link main repo as package | |
run: | | |
mkdir -p /home/runner/go/src/github.com/Kovah | |
ln -s /home/runner/work/DevLorem/DevLorem /home/runner/go/src/github.com/Kovah/DevLorem | |
- name: Build and test with Go | |
run: go test -run '' |