mirror of
https://gitea.com/gitea/homebrew-gitea.git
synced 2024-06-02 18:21:26 +05:30
c07d8919c8
- Update brew_version to include "3.6.21", "4.0.16", and "latest" See https://hub.docker.com/r/homebrew/brew Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> Reviewed-on: https://gitea.com/gitea/homebrew-gitea/pulls/166 Reviewed-by: techknowlogick <techknowlogick@noreply.gitea.io> Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com> Co-committed-by: Bo-Yi Wu <appleboy.tw@gmail.com>
35 lines
872 B
YAML
35 lines
872 B
YAML
name: test
|
|
|
|
on:
|
|
- pull_request
|
|
- push
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
brew_version: ["3.6.21", "4.0.16", "latest"]
|
|
runs-on: ubuntu-latest
|
|
container:
|
|
image: homebrew/brew:${{ matrix.brew_version }}
|
|
env:
|
|
HOMEBREW_NO_AUTO_UPDATE: 1
|
|
steps:
|
|
- name: install node
|
|
# to use actions/checkout
|
|
run: |
|
|
brew install node
|
|
node --version
|
|
- uses: actions/checkout@v3
|
|
- name: test install
|
|
run: |
|
|
brew tap gitea/gitea "${PWD}"
|
|
brew install gitea/gitea/tea
|
|
tea --version
|
|
brew install gitea/gitea/gitea
|
|
gitea --version
|
|
brew install gitea/gitea/act_runner
|
|
act_runner --version
|
|
# TODO: test for arm
|
|
# There is no arm image for homebrew/brew, and the image markkrj/homebrew-arm hasn't been updated for years
|