Skip to content

Bump actions/setup-go from 5.0.0 to 5.0.1 #290

Bump actions/setup-go from 5.0.0 to 5.0.1

Bump actions/setup-go from 5.0.0 to 5.0.1 #290

Workflow file for this run

#Runs all the tests! Triggers on push and PR for quick feedback.
#Tests are not very comprehensive right now, so don't put too much faith in this.
name: run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version-file: 'go.mod'
cache: true
- name: Install Tools
run: make prep
- name: Execute tests
run: make test && make testacc
- name: Upload test artifacts for debugging
uses: actions/upload-artifact@1746f4ab65b179e0ea60a494b83293b640dd5bba
if: failure()
with:
name: test-debug-artifacts
path: |
datasource/*/git_*_basic_test.pkr.hcl
datasource/*/packer_log_git_*_basic_test.txt
if-no-files-found: ignore