Skip to content

Commit

Permalink
Bump 1.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
palkan committed Oct 9, 2024
1 parent 42a642f commit c9b8951
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 40 deletions.
72 changes: 34 additions & 38 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,51 @@ name: Test
on:
push:
branches:
- master
- master
pull_request:

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
version: [
"1.0.0.preview1",
"0.6.4-mrb",
"1.2.2"
]
version: ["1.0.0.preview1", "0.6.4-mrb", "1.2.2"]
default: [false]
include:
- version: "1.5.1"
- version: "1.5.4"
default: true
steps:
- uses: actions/checkout@v2
- run: |
rm test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Add GitHub token (to avoid rate limiting issues)
run: |
echo "${{ secrets.GITHUB_TOKEN }}" >> test/env/HEROKU_ANYCABLE_GO_GITHUB_TOKEN
- name: Set version
if: ${{ !matrix.default }}
run: |
echo "${{ matrix.version }}" >> test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Prepare Docker image
run: docker build -t anycable-go-test .
- run: |
echo "DEBUG VERSION: $(docker run anycable-go-test)"
docker run anycable-go-test | grep -q "${{ matrix.version }}"
- uses: actions/checkout@v4
- run: |
rm test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Add GitHub token (to avoid rate limiting issues)
run: |
echo "${{ secrets.GITHUB_TOKEN }}" >> test/env/HEROKU_ANYCABLE_GO_GITHUB_TOKEN
- name: Set version
if: ${{ !matrix.default }}
run: |
echo "${{ matrix.version }}" >> test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Prepare Docker image
run: docker build -t anycable-go-test .
- run: |
echo "DEBUG VERSION: $(docker run anycable-go-test)"
docker run anycable-go-test | grep -q "${{ matrix.version }}"
test_custom_repo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: |
rm test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Add GitHub token (to avoid rate limiting issues)
run: |
echo "${{ secrets.GITHUB_TOKEN }}" >> test/env/HEROKU_ANYCABLE_GO_GITHUB_TOKEN
- name: Set custom source data
run: |
echo "https://github.com/anycable/websocket-bench" >> test/env/HEROKU_ANYCABLE_GO_REPO
echo "websocket-bench" >> test/env/HEROKU_ANYCABLE_GO_BINARY_NAME
echo "0.3.0" >> test/env/HEROKU_ANYCABLE_GO_VERSION
echo "false" >> test/env/HEROKU_ANYCABLE_GO_VERSION_SUFFIX
- name: Prepare Docker image
run: docker build -t anycable-go-test .
- run: |
docker run anycable-go-test /app/bin/websocket-bench -h | grep -q "0.3.0"
- uses: actions/checkout@v4
- run: |
rm test/env/HEROKU_ANYCABLE_GO_VERSION
- name: Add GitHub token (to avoid rate limiting issues)
run: |
echo "${{ secrets.GITHUB_TOKEN }}" >> test/env/HEROKU_ANYCABLE_GO_GITHUB_TOKEN
- name: Set custom source data
run: |
echo "https://github.com/anycable/websocket-bench" >> test/env/HEROKU_ANYCABLE_GO_REPO
echo "websocket-bench" >> test/env/HEROKU_ANYCABLE_GO_BINARY_NAME
echo "0.3.0" >> test/env/HEROKU_ANYCABLE_GO_VERSION
echo "false" >> test/env/HEROKU_ANYCABLE_GO_VERSION_SUFFIX
- name: Prepare Docker image
run: docker build -t anycable-go-test .
- run: |
docker run anycable-go-test /app/bin/websocket-bench -h | grep -q "0.3.0"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
This is a [Heroku buildpack][0] for bundling a compatible [anycable-go][1]
binary with your environment.

Anycable-Go version (default): `1.5.1`
Anycable-Go version (default): `1.5.4`

## Usage

Expand Down
2 changes: 1 addition & 1 deletion bin/compile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ chmod +x $FETCH_PATH
if [ -f "$ENV_DIR/HEROKU_ANYCABLE_GO_VERSION" ]; then
version=`cat $ENV_DIR/HEROKU_ANYCABLE_GO_VERSION`
else
version="1.5.1"
version="1.5.4"
fi

if [ -f "$ENV_DIR/HEROKU_ANYCABLE_GO_REPO" ]; then
Expand Down

0 comments on commit c9b8951

Please sign in to comment.