Merge pull request #8 from zstyblik/dependabot/github_actions/actions… #5
This file contains hidden or 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: 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 |