diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
+# 0.1.0.3
+
+- Expand version bounds to include tasty 1.5.
+
 # 0.1.0.2
 
-- Expand version bounds to include tasy 1.4.
+- Expand version bounds to include tasty 1.4.
 
 # 0.1.0.1
 
diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
 BSD 3-Clause License
 
-Copyright (c) 2020, Jasper Woudenberg
+Copyright (c) 2023, Jasper Woudenberg
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff --git a/junit-xml.cabal b/junit-xml.cabal
--- a/junit-xml.cabal
+++ b/junit-xml.cabal
@@ -1,13 +1,11 @@
 cabal-version: 1.18
 
--- This file has been generated from package.yaml by hpack version 0.33.0.
+-- This file has been generated from package.yaml by hpack version 0.35.2.
 --
 -- see: https://github.com/sol/hpack
---
--- hash: 72708238608fb2cef765e9a4e99c281514463f5ce7d370f27c767776c934e6a9
 
 name:           junit-xml
-version:        0.1.0.2
+version:        0.1.0.3
 synopsis:       Producing JUnit-style XML test reports.
 description:    Please see the README at <https://github.com/jwoudenberg/junit-xml>.
 category:       Web
@@ -15,7 +13,7 @@
 bug-reports:    https://github.com/jwoudenberg/junit-xml/issues
 author:         Jasper Woudenberg
 maintainer:     mail@jasperwoudenberg.com
-copyright:      2020 Jasper Woudenberg
+copyright:      2023 Jasper Woudenberg
 license:        BSD3
 license-file:   LICENSE
 build-type:     Simple
@@ -51,7 +49,9 @@
       test
   build-depends:
       base
+    , filepath
     , junit-xml
-    , tasty >=1.1 && <1.5
-    , tasty-golden >=2.3 && <2.4
+    , tasty
+    , tasty-golden
+    , temporary
   default-language: Haskell2010
diff --git a/test/Main.hs b/test/Main.hs
--- a/test/Main.hs
+++ b/test/Main.hs
@@ -9,18 +9,21 @@
 import Test.Tasty
 import Test.Tasty.Golden as Golden
 import Text.XML.JUnit
+import System.FilePath((</>))
+import System.IO.Temp(withSystemTempDirectory)
 
-main = defaultMain tests
+main :: IO ()
+main = withSystemTempDirectory "haskell-junit-xml-tests" (\tmp -> defaultMain (tests tmp))
 
-tests :: TestTree
-tests =
+tests :: FilePath -> TestTree
+tests tmpdir =
   Golden.goldenVsFile
     "Generate sample XML"
-    "test/sample-report.xml"
+    ("test" </> "sample-report.xml")
     out
     (writeXmlReport out suites)
   where
-    out = "/tmp/junit-xml-haskell-test.xml"
+    out = tmpdir </> "junit-xml-haskell-test.xml"
     suites =
       [ passed "Passed test"
           & stdout "passing stdout"
