Merge pull request #34 from gittuf/dependabot/github_actions/sigstore… #83
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- 'main' | |
jobs: | |
test_gittuf_installer_with_default_version: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
name: Test gittuf installer with default version | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install gittuf | |
uses: ./ | |
- name: Verify install | |
run: gittuf version | |
test_gittuf_installer_with_specific_version: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
name: Test gittuf installer with specific version | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- name: Install gittuf | |
uses: ./ | |
with: | |
gittuf-version: '0.1.0' | |
- name: Verify install | |
run: gittuf version | |
test_gittuf_installer_from_main_branch: | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
name: Test gittuf installer from main branch | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
- uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 | |
with: | |
go-version: '1.23' | |
- name: Install gittuf | |
uses: ./ | |
with: | |
gittuf-version: 'main' | |
- name: Verify install | |
run: gittuf version |