diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fd1517c..c2874c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -101,6 +101,13 @@ jobs: run: | cargo run --bin hawkeye -- -V cargo run --bin hawkeye -- check + gha: + # GitHub Actions with Docker is only supported on Linux runners now. + runs-on: ubuntu-latest + name: Smoke test for GitHub Actions + steps: + - uses: actions/checkout@v4 + - uses: ./ required: name: Required @@ -109,6 +116,7 @@ jobs: needs: - check - docker + - gha - smoke - test steps: @@ -117,6 +125,7 @@ jobs: if [[ ! ( \ "${{ needs.check.result }}" == "success" \ && "${{ needs.docker.result }}" == "success" \ + && "${{ needs.gha.result }}" == "success" \ && "${{ needs.smoke.result }}" == "success" \ && "${{ needs.test.result }}" == "success" \ ) ]]; then diff --git a/Cargo.toml b/Cargo.toml index 99d82e9..68ce9f2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -37,3 +37,5 @@ tracing = "0.1.40" sign-tag = true shared-version = true tag-name = "v{{version}}" +# Use release.py to replace content in action.yml now; so this commit is made ther. +#pre-release-commit-message = "chore: release v{{version}}" diff --git a/action.yml b/action.yml index f64a0ac..1a99178 100644 --- a/action.yml +++ b/action.yml @@ -33,7 +33,7 @@ inputs: runs: using: docker - image: Dockerfile + image: docker://ghcr.io/korandoru/hawkeye:edge args: - ${{ inputs.mode }} - --config