Skip to content

Merge pull request #8 from zstyblik/dependabot/github_actions/actions… #5

Merge pull request #8 from zstyblik/dependabot/github_actions/actions…

Merge pull request #8 from zstyblik/dependabot/github_actions/actions… #5

Workflow file for this run

---
name: CI for go-facter
on: [push] # yamllint disable-line rule:truthy
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.24"]
steps:
- name: Checkout repository
uses: actions/checkout@v5
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version: ${{ matrix.go-version }}
- name: Test with Go
run: go test -json -v ./... > TestResults-${{ matrix.go-version }}.json
- name: Upload Go test results
uses: actions/upload-artifact@v4
with:
name: Go-results-${{ matrix.go-version }}
path: TestResults-${{ matrix.go-version }}.json