Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
2 changes: 1 addition & 1 deletion tools/install.ps1 → .ci/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Set-StrictMode -Version 2.0

[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor 'Tls12'

$versions_path = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath 'tools' | Join-Path -ChildPath 'versions.json'
$versions_path = Join-Path -Path $env:GITHUB_WORKSPACE -ChildPath '.ci' | Join-Path -ChildPath 'versions.json'
$versions = Get-Content $versions_path | ConvertFrom-Json
Write-Host "[INFO] versions: $versions"
$erlang_ver = $versions.erlang
Expand Down
4 changes: 4 additions & 0 deletions .ci/versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"erlang": "25.1.1",
"rabbitmq": "3.11.1"
}
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
# Note: the cache path is relative to the workspace directory
# https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#using-the-cache-action
path: ~/installers
key: ${{ runner.os }}-v0-${{ hashFiles('tools/versions.json') }}
key: ${{ runner.os }}-v0-${{ hashFiles('.ci/versions.json') }}
- name: Cache NuGet packages
uses: actions/cache@v3
with:
Expand All @@ -38,7 +38,7 @@ jobs:
restore-keys: |
${{ runner.os }}-v0-nuget-
- name: Install and start RabbitMQ
run: ./tools/install.ps1
run: ./.ci/install.ps1
- name: List NuGet sources
run: dotnet nuget locals all --list
- name: Restore
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Build
run: dotnet build --no-restore --verbosity=normal
- name: Test
run: ./tools/gha-run-tests.ps1
run: ./.ci/gha-run-tests.ps1

build:
name: build/test on ubuntu-latest
Expand Down
4 changes: 0 additions & 4 deletions tools/versions.json

This file was deleted.