Skip to content

Commit

Permalink
Merge branch 'main' into maciekbanas/81/prepare-mocks-for-testing-vec…
Browse files Browse the repository at this point in the history
…tordatabase
  • Loading branch information
maciekbanas authored Dec 27, 2024
2 parents b6fdc4b + 15d4abb commit c973881
Show file tree
Hide file tree
Showing 2 changed files with 171 additions and 10 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: ⬆️ Check Version Bump

on:
pull_request:
branches: [main]

jobs:
check-version:
runs-on: ubuntu-latest

steps:
- name: Checkout source branch
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
path: source

- name: Checkout target branch
uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.base.sha }}
path: target

- name: Compare versions
id: compare_versions
run: |
SOURCE_VERSION=$(awk '/^Version:/ { print $2 }' source/DESCRIPTION)
TARGET_VERSION=$(awk '/^Version:/ { print $2 }' target/DESCRIPTION)
echo "Source package version: $SOURCE_VERSION"
echo "Target package version: $TARGET_VERSION"
if [ "$SOURCE_VERSION" == "$TARGET_VERSION" ]; then
echo "Versions are identical"
echo "::set-output name=versions_identical::true"
else
echo "Versions differ"
echo "::set-output name=versions_identical::false"
fi
- name: Fail if versions are identical
if: steps.compare_versions.outputs.versions_identical == 'true'
run: |
echo "The package versions are identical between the source and target branches."
exit 1
137 changes: 127 additions & 10 deletions renv.lock
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,17 @@
],
"Hash": "470851b6d5d0ac559e9d01bb352b4021"
},
"Rcpp": {
"Package": "Rcpp",
"Version": "1.0.13-1",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"methods",
"utils"
],
"Hash": "6b868847b365672d6c1677b1608da9ed"
},
"S7": {
"Package": "S7",
"Version": "0.2.0",
Expand Down Expand Up @@ -136,6 +147,13 @@
],
"Hash": "b21916dd77a27642b447374a5d30ecf3"
},
"commonmark": {
"Package": "commonmark",
"Version": "1.9.2",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "14eb0596f987c71535d07c3aff814742"
},
"coro": {
"Package": "coro",
"Version": "1.1.0",
Expand Down Expand Up @@ -281,7 +299,7 @@
"jsonlite",
"rlang"
],
"Hash": "b88717af28296eff2bc8f6f7f474ef1a"
"Hash": "7b6008b2091a6d4a93b8e57bef424449"
},
"evaluate": {
"Package": "evaluate",
Expand Down Expand Up @@ -384,16 +402,26 @@
],
"Hash": "81d371a9cc60640e74e4ab6ac46dcedc"
},
"httpuv": {
"Package": "httpuv",
"Version": "1.6.15",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"R6",
"Rcpp",
"later",
"promises",
"utils"
],
"Hash": "d55aa087c47a63ead0f6fc10f8fa1ee0"
},
"httr2": {
"Package": "httr2",
"Version": "1.0.6.9000",
"Source": "GitHub",
"RemoteType": "github",
"RemoteHost": "api.github.com",
"RemoteRepo": "httr2",
"RemoteUsername": "r-lib",
"RemotePkgRef": "r-lib/httr2",
"RemoteSha": "651665d811e8f88d55c472dae50f3116aaf3da32",
"Version": "1.0.7",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"R6",
Expand All @@ -408,7 +436,7 @@
"vctrs",
"withr"
],
"Hash": "66c98064fcefeac59159ba0d69e9bb8f"
"Hash": "5a76da345ed4f3e6430517e08441edaf"
},
"jquerylib": {
"Package": "jquerylib",
Expand Down Expand Up @@ -446,6 +474,17 @@
],
"Hash": "9fcb189926d93c636dea94fbe4f44480"
},
"later": {
"Package": "later",
"Version": "1.3.2",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"Rcpp",
"rlang"
],
"Hash": "a3e051d405326b8b0012377434c62b37"
},
"lifecycle": {
"Package": "lifecycle",
"Version": "1.0.4",
Expand Down Expand Up @@ -627,6 +666,22 @@
],
"Hash": "0c90a7d71988856bad2a2a45dd871bb9"
},
"promises": {
"Package": "promises",
"Version": "1.3.0",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R6",
"Rcpp",
"fastmap",
"later",
"magrittr",
"rlang",
"stats"
],
"Hash": "434cd5388a3979e74be5c219bcd6e77d"
},
"ps": {
"Package": "ps",
"Version": "1.8.1",
Expand Down Expand Up @@ -728,6 +783,13 @@
],
"Hash": "4c8415e0ec1e29f3f4f6fc108bef0144"
},
"rstudioapi": {
"Package": "rstudioapi",
"Version": "0.17.1",
"Source": "Repository",
"Repository": "CRAN",
"Hash": "5f90cd73946d706cfe26024294236113"
},
"sass": {
"Package": "sass",
"Version": "0.4.9",
Expand All @@ -742,6 +804,49 @@
],
"Hash": "d53dbfddf695303ea4ad66f86e99b95d"
},
"shiny": {
"Package": "shiny",
"Version": "1.9.1",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"R6",
"bslib",
"cachem",
"commonmark",
"crayon",
"fastmap",
"fontawesome",
"glue",
"grDevices",
"htmltools",
"httpuv",
"jsonlite",
"later",
"lifecycle",
"methods",
"mime",
"promises",
"rlang",
"sourcetools",
"tools",
"utils",
"withr",
"xtable"
],
"Hash": "6a293995a66e12c48d13aa1f957d09c7"
},
"sourcetools": {
"Package": "sourcetools",
"Version": "0.1.7-1",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R"
],
"Hash": "5f5a7629f956619d519205ec475fe647"
},
"stringi": {
"Package": "stringi",
"Version": "1.8.4",
Expand Down Expand Up @@ -973,6 +1078,18 @@
],
"Hash": "1d0336142f4cd25d8d23cd3ba7a8fb61"
},
"xtable": {
"Package": "xtable",
"Version": "1.8-4",
"Source": "Repository",
"Repository": "CRAN",
"Requirements": [
"R",
"stats",
"utils"
],
"Hash": "b8acdf8af494d9ec19ccb2481a9b11c2"
},
"yaml": {
"Package": "yaml",
"Version": "2.3.10",
Expand Down

0 comments on commit c973881

Please sign in to comment.