Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Facsimile/facsimile
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.3.0
Choose a base ref
...
head repository: Facsimile/facsimile
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jan 14, 2025

  1. Copy the full SHA
    ce50aa7 View commit details
  2. Copy the full SHA
    d66b349 View commit details
  3. Copy the full SHA
    db5f296 View commit details
  4. Copy the full SHA
    5ccaa09 View commit details
  5. Copy the full SHA
    fc4e058 View commit details
  6. Removed Travis-CI badge

    Facsimiler authored Jan 14, 2025
    Copy the full SHA
    6883c1b View commit details
  7. Updated Codacy badge

    Facsimiler authored Jan 14, 2025
    Copy the full SHA
    8b8f5c9 View commit details
  8. Created Scala build GitHub actions integration

    This replaces the Travis-CI integration, which is no longer free
    for open-source projects.
    Facsimiler authored Jan 14, 2025
    Copy the full SHA
    4060ac5 View commit details
  9. Updated infrastructure.

    Add support for Sonatype Central repository, and remove Trav-CI build.
    Facsimiler committed Jan 14, 2025
    Copy the full SHA
    c946cb5 View commit details

Commits on Jan 15, 2025

  1. Copy the full SHA
    170157d View commit details

Commits on Jan 16, 2025

  1. Copy the full SHA
    b884d4e View commit details
  2. Copy the full SHA
    0c82825 View commit details
  3. Merge pull request #199 from scala-steward/update/sbt-1.10.7

    Update sbt, scripted-plugin to 1.10.7
    Facsimiler authored Jan 16, 2025
    Copy the full SHA
    4cfc789 View commit details
  4. Merge pull request #200 from scala-steward/update/sbt-coveralls-1.3.14

    Update sbt-coveralls to 1.3.14
    Facsimiler authored Jan 16, 2025
    Copy the full SHA
    38f02fd View commit details
  5. Merge pull request #201 from scala-steward/update/sbt-scoverage-2.1.1

    Update sbt-scoverage to 2.1.1
    Facsimiler authored Jan 16, 2025
    Copy the full SHA
    91fa583 View commit details

Commits on Jan 17, 2025

  1. Copy the full SHA
    dda83ec View commit details
  2. Merge pull request #202 from scala-steward/update/cats-core-2.12.0

    Update cats-core to 2.12.0
    Facsimiler authored Jan 17, 2025
    Copy the full SHA
    3b98087 View commit details
  3. Merge pull request #203 from scala-steward/update/sbt-sonatype-3.11.3

    Update sbt-sonatype to 3.11.3
    Facsimiler authored Jan 17, 2025
    Copy the full SHA
    35ede7c View commit details
  4. Copy the full SHA
    4003a95 View commit details
  5. Copy the full SHA
    59db25f View commit details
  6. Corrected last commit.

    Facsimiler authored Jan 17, 2025
    Copy the full SHA
    ee2882c View commit details
  7. Copy the full SHA
    54d5f81 View commit details

Commits on Jan 18, 2025

  1. Copy the full SHA
    3e3695e View commit details
  2. Copy the full SHA
    a74dca5 View commit details

Commits on Jan 20, 2025

  1. Merge pull request #205 from scala-steward/update/sbt-scoverage-2.3.0

    Update sbt-scoverage to 2.3.0
    Facsimiler authored Jan 20, 2025
    Copy the full SHA
    c2e63f3 View commit details
  2. Merge pull request #206 from scala-steward/update/sbt-sonatype-3.12.2

    Update sbt-sonatype to 3.12.2
    Facsimiler authored Jan 20, 2025
    Copy the full SHA
    156474e View commit details
  3. Fixed some typos

    Facsimiler committed Jan 20, 2025
    Copy the full SHA
    5b8b0e1 View commit details
  4. Fixed #36

    Facsimiler committed Jan 20, 2025
    Copy the full SHA
    b32f34e View commit details
  5. Copy the full SHA
    48db512 View commit details
98 changes: 98 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
# This file was automatically generated by sbt-github-actions using the
# githubWorkflowGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# change your sbt build configuration to revise the workflow description
# to meet your needs, then regenerate this file.

name: Continuous Integration

on:
pull_request:
branches: ['**']
push:
branches: ['**']

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
build:
name: Build and Test
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.4]
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Check that workflows are up to date
run: sbt '++ ${{ matrix.scala }}' githubWorkflowCheck

- name: Build project
run: sbt '++ ${{ matrix.scala }}' test

- name: Compress target directories
run: tar cf targets.tar target facsimile-util/target facsimile-collection/target facsimile-simulation/target project/target

- name: Upload target directories
uses: actions/upload-artifact@v4
with:
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
path: targets.tar

publish:
name: Publish Artifacts
needs: [build]
if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main')
strategy:
matrix:
os: [ubuntu-latest]
scala: [3.3.4]
java: [temurin@17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout current branch (full)
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java (temurin@17)
if: matrix.java == 'temurin@17'
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: 17
cache: sbt

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Download target directories (3.3.4)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-3.3.4-${{ matrix.java }}

- name: Inflate target directories (3.3.4)
run: |
tar xf targets.tar
rm targets.tar
- name: Publish project
run: sbt +publish
60 changes: 60 additions & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
# This file was automatically generated by sbt-github-actions using the
# githubWorkflowGenerate task. You should add and commit this file to
# your git repository. It goes without saying that you shouldn't edit
# this file by hand! Instead, if you wish to make changes, you should
# change your sbt build configuration to revise the workflow description
# to meet your needs, then regenerate this file.

name: Clean

on: push

jobs:
delete-artifacts:
name: Delete Artifacts
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Delete artifacts
shell: bash {0}
run: |
# Customize those three lines with your repository and credentials:
REPO=${GITHUB_API_URL}/repos/${{ github.repository }}
# A shortcut to call GitHub API.
ghapi() { curl --silent --location --user _:$GITHUB_TOKEN "$@"; }
# A temporary file which receives HTTP response headers.
TMPFILE=$(mktemp)
# An associative array, key: artifact name, value: number of artifacts of that name.
declare -A ARTCOUNT
# Process all artifacts on this repository, loop on returned "pages".
URL=$REPO/actions/artifacts
while [[ -n "$URL" ]]; do
# Get current page, get response headers in a temporary file.
JSON=$(ghapi --dump-header $TMPFILE "$URL")
# Get URL of next page. Will be empty if we are at the last page.
URL=$(grep '^Link:' "$TMPFILE" | tr ',' '\n' | grep 'rel="next"' | head -1 | sed -e 's/.*<//' -e 's/>.*//')
rm -f $TMPFILE
# Number of artifacts on this page:
COUNT=$(( $(jq <<<$JSON -r '.artifacts | length') ))
# Loop on all artifacts on this page.
for ((i=0; $i < $COUNT; i++)); do
# Get name of artifact and count instances of this name.
name=$(jq <<<$JSON -r ".artifacts[$i].name?")
ARTCOUNT[$name]=$(( $(( ${ARTCOUNT[$name]} )) + 1))
id=$(jq <<<$JSON -r ".artifacts[$i].id?")
size=$(( $(jq <<<$JSON -r ".artifacts[$i].size_in_bytes?") ))
printf "Deleting '%s' #%d, %'d bytes\n" $name ${ARTCOUNT[$name]} $size
ghapi -X DELETE $REPO/actions/artifacts/$id
done
done
110 changes: 0 additions & 110 deletions .travis.yml

This file was deleted.

Loading