Merge pull request #22 from AkihiroSuda/dev #52
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: | |
push: | |
branches: | |
- master | |
- 'release/**' | |
pull_request: | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.54.2 | |
args: --verbose --timeout=10m | |
test-integration: | |
runs-on: ubuntu-22.04 | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: "Install test dependencies" | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y moreutils | |
- name: "Run the integration test" | |
run: ./hack/test.sh | |
- name: "Show the local images" | |
run: docker images --no-trunc |