-
Notifications
You must be signed in to change notification settings - Fork 42
37 lines (30 loc) · 1.14 KB
/
test_latest_release.yml
File metadata and controls
37 lines (30 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
on:
workflow_dispatch:
# this cancels workflows currently in progress if you start a new one
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# Do not add permissions here! Configure them at the job level!
permissions: {}
jobs:
test-latest-release:
runs-on: [ubuntu-22.04]
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: remove everything except some ci scripts
run: |
mkdir temp
mv ./ci/test_latest_release.sh temp
mv ./ci/get_latest_release_git_files.sh temp
mv ./ci/rust_http_server temp
find . -mindepth 1 -maxdepth 1 ! -name 'temp' -exec rm -rf {} +
- name: Get all git files of the latest basic-cli release
run: ./temp/get_latest_release_git_files.sh
- name: Use ./ci/test_latest_release.sh of the latest git main
run: mv -f ./temp/test_latest_release.sh ./ci/
- name: Run all tests with latest roc release + latest basic-cli release
run: EXAMPLES_DIR=./examples/ ./ci/test_latest_release.sh
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}